pub struct ModuleInfo<'a> {
pub index: u32,
pub name: Option<Cow<'a, str>>,
pub argument: Option<Cow<'a, str>>,
pub n_used: Option<u32>,
pub proplist: Proplist,
}
Expand description
Stores information about modules.
Please note that this structure can be extended as part of evolutionary API updates at any time in any new release.
Fields§
§index: u32
Index of the module.
name: Option<Cow<'a, str>>
Name of the module.
argument: Option<Cow<'a, str>>
Argument string of the module.
n_used: Option<u32>
Usage counter or None
if invalid.
proplist: Proplist
Property list.
Implementations§
Source§impl ModuleInfo<'_>
impl ModuleInfo<'_>
Sourcepub fn to_owned(&self) -> ModuleInfo<'static>
pub fn to_owned(&self) -> ModuleInfo<'static>
Creates a copy with owned data.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ModuleInfo<'a>
impl<'a> RefUnwindSafe for ModuleInfo<'a>
impl<'a> Send for ModuleInfo<'a>
impl<'a> Sync for ModuleInfo<'a>
impl<'a> Unpin for ModuleInfo<'a>
impl<'a> UnwindSafe for ModuleInfo<'a>
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