pub enum EmbeddedEntry {
File(EmbeddedFile),
Dir(EmbeddedAssets),
}Expand description
Entry in an embedded tree — either a file or a sub-directory.
Variants§
File(EmbeddedFile)
A file with its bytes loaded via include_bytes!.
Dir(EmbeddedAssets)
A nested directory.
Trait Implementations§
Source§impl Clone for EmbeddedEntry
impl Clone for EmbeddedEntry
Source§fn clone(&self) -> EmbeddedEntry
fn clone(&self) -> EmbeddedEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EmbeddedEntry
impl Debug for EmbeddedEntry
impl Copy for EmbeddedEntry
Auto Trait Implementations§
impl Freeze for EmbeddedEntry
impl RefUnwindSafe for EmbeddedEntry
impl Send for EmbeddedEntry
impl Sync for EmbeddedEntry
impl Unpin for EmbeddedEntry
impl UnsafeUnpin for EmbeddedEntry
impl UnwindSafe for EmbeddedEntry
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