pub enum GrainSize {
Size(f32),
MinMaxSize((f32, f32)),
}Expand description
Grain size variants for the optional MATERIAL part of color definition (!COLOUR language extension).
Variants§
Trait Implementations§
impl StructuralPartialEq for GrainSize
Auto Trait Implementations§
impl Freeze for GrainSize
impl RefUnwindSafe for GrainSize
impl Send for GrainSize
impl Sync for GrainSize
impl Unpin for GrainSize
impl UnwindSafe for GrainSize
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