pub enum Crop {
Whole,
Mark,
}Expand description
What an asset is cropped to before it is painted.
Variants§
Whole
The whole lattice — the landing page’s own framing, noise and all.
Mark
Tight to the mark, plus CROP_MARGIN sites: the logo to drop
into a README or a slide, where a screenful of noise is not wanted.
Trait Implementations§
impl Copy for Crop
impl Eq for Crop
impl StructuralPartialEq for Crop
Auto Trait Implementations§
impl Freeze for Crop
impl RefUnwindSafe for Crop
impl Send for Crop
impl Sync for Crop
impl Unpin for Crop
impl UnsafeUnpin for Crop
impl UnwindSafe for Crop
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