pub struct Asset {
pub path: &'static str,
pub mark: Mark,
pub crop: Crop,
pub cut: Cut,
pub format: Format,
}Expand description
One file, and everything needed to make it.
Fields§
§path: &'static strWhere it goes, relative to the destination root (site/public).
mark: MarkWhat is annealed to make it.
crop: CropHow much of that mark’s lattice it shows.
cut: CutWhether it is cut to a disc.
format: FormatHow it is encoded.
Auto Trait Implementations§
impl Freeze for Asset
impl RefUnwindSafe for Asset
impl Send for Asset
impl Sync for Asset
impl Unpin for Asset
impl UnsafeUnpin for Asset
impl UnwindSafe for Asset
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