pub struct LocalBundle {
pub root: PathBuf,
pub name: Option<String>,
pub entry: Option<Value>,
}Expand description
A bundle whose files are in a local folder.
Fields§
§root: PathBuf§name: Option<String>The bundle’s name in the listing that selected it, if one did.
entry: Option<Value>The listing’s entry, for formats where it can declare components.
Trait Implementations§
Source§impl Clone for LocalBundle
impl Clone for LocalBundle
Auto Trait Implementations§
impl Forget for LocalBundle
impl Freeze for LocalBundlewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for LocalBundle
impl RefUnwindSafe for LocalBundle
impl Send for LocalBundle
impl Sync for LocalBundle
impl Unpin for LocalBundle
impl UnsafeUnpin for LocalBundlewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for LocalBundle
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