pub struct Library {
name: String,
all_processes: Vec<Process>,
}Expand description
Top-level struct containing all information read from an entire Process Library
All fields are private, but are accessible with “get” functions, e.g. Library.get_name() returns a reference to the Library’s name (&String).
Fields§
§name: StringThe name of the process library, e.g. “Process Library”
all_processes: Vec<Process>A vector of crate::read_ebml::Process structs, each containing all information about its associated EBML file.
Implementations§
Source§impl Library
Since all fields are private, “get” and “set”/“add” functions safely read and write a Library struct
impl Library
Since all fields are private, “get” and “set”/“add” functions safely read and write a Library struct
Sourcepub fn get_all_processes(&self) -> &Vec<Process>
pub fn get_all_processes(&self) -> &Vec<Process>
Return the contents of the “all_processes” field
Sourcepub fn add_process(&mut self, process: Process)
pub fn add_process(&mut self, process: Process)
push a new crate::read_ebml::Process to the all_processes vector
Auto Trait Implementations§
impl Freeze for Library
impl RefUnwindSafe for Library
impl Send for Library
impl Sync for Library
impl Unpin for Library
impl UnwindSafe for Library
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more