pub struct Library<T> {
pub asset: Option<Box<Asset>>,
pub items: Vec<T>,
pub extra: Vec<Extra>,
}
Expand description
Declares a module of elements of type T
.
Fields§
§asset: Option<Box<Asset>>
Asset management information about this element.
items: Vec<T>
The individual items in the module.
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Library<T>
impl<T> RefUnwindSafe for Library<T>where
T: RefUnwindSafe,
impl<T> Send for Library<T>where
T: Send,
impl<T> Sync for Library<T>where
T: Sync,
impl<T> Unpin for Library<T>where
T: Unpin,
impl<T> UnwindSafe for Library<T>where
T: UnwindSafe,
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