pub struct Library<'a> {
pub fields: ComponentFields<'a>,
pub exposed_modules: Vec<&'a str>,
}Expand description
A library component.
Fields§
§fields: ComponentFields<'a>Shared component fields.
exposed_modules: Vec<&'a str>exposed-modules entries.
Trait Implementations§
impl<'a> Eq for Library<'a>
impl<'a> StructuralPartialEq for Library<'a>
Auto Trait Implementations§
impl<'a> Freeze for Library<'a>
impl<'a> RefUnwindSafe for Library<'a>
impl<'a> Send for Library<'a>
impl<'a> Sync for Library<'a>
impl<'a> Unpin for Library<'a>
impl<'a> UnsafeUnpin for Library<'a>
impl<'a> UnwindSafe for Library<'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