pub struct Embedded {
pub dir: &'static str,
pub kit: &'static str,
pub tokens: Vec<(String, &'static str)>,
pub fonts: Vec<(&'static str, &'static [u8])>,
pub license: Option<&'static str>,
}Expand description
What kit! embeds: the folder’s files, named as in the
folder.
Fields§
§dir: &'static strThe folder, as the macro named it.
kit: &'static strkit.yaml (or kit.json).
tokens: Vec<(String, &'static str)>Other token files: their name and text.
fonts: Vec<(&'static str, &'static [u8])>Faces: their file name under fonts/ and their bytes.
license: Option<&'static str>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