pub struct Embedded {
pub name: String,
pub bytes: Vec<u8>,
pub path: PathBuf,
}Expand description
A resource #embed found.
Fields§
§name: StringThe name diagnostics call it.
bytes: Vec<u8>Its contents, byte for byte.
path: PathBufIts absolute path, for rebuild tracking.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Embedded
impl RefUnwindSafe for Embedded
impl Send for Embedded
impl Sync for Embedded
impl Unpin for Embedded
impl UnsafeUnpin for Embedded
impl UnwindSafe for Embedded
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