#[repr(u8)]pub enum RectType {
Default,
Transparent,
FixedColor,
}
Expand description
Optional setting per rectangular grid entry to make it transparent, or to fill the grid entry with a color.
Variants§
Trait Implementations§
source§impl Clone for SkCanvas_Lattice_RectType
impl Clone for SkCanvas_Lattice_RectType
source§fn clone(&self) -> SkCanvas_Lattice_RectType
fn clone(&self) -> SkCanvas_Lattice_RectType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SkCanvas_Lattice_RectType
impl Debug for SkCanvas_Lattice_RectType
source§impl Default for SkCanvas_Lattice_RectType
impl Default for SkCanvas_Lattice_RectType
source§fn default() -> SkCanvas_Lattice_RectType
fn default() -> SkCanvas_Lattice_RectType
Returns the “default value” for a type. Read more
source§impl Hash for SkCanvas_Lattice_RectType
impl Hash for SkCanvas_Lattice_RectType
source§impl PartialEq<SkCanvas_Lattice_RectType> for SkCanvas_Lattice_RectType
impl PartialEq<SkCanvas_Lattice_RectType> for SkCanvas_Lattice_RectType
source§fn eq(&self, other: &SkCanvas_Lattice_RectType) -> bool
fn eq(&self, other: &SkCanvas_Lattice_RectType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SkCanvas_Lattice_RectType
impl Eq for SkCanvas_Lattice_RectType
impl StructuralEq for SkCanvas_Lattice_RectType
impl StructuralPartialEq for SkCanvas_Lattice_RectType
Auto Trait Implementations§
impl RefUnwindSafe for SkCanvas_Lattice_RectType
impl Send for SkCanvas_Lattice_RectType
impl Sync for SkCanvas_Lattice_RectType
impl Unpin for SkCanvas_Lattice_RectType
impl UnwindSafe for SkCanvas_Lattice_RectType
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