Enum RectType
#[repr(u8)]pub enum RectType {
Default = 0,
Transparent = 1,
FixedColor = 2,
}
Expand description
Optional setting per rectangular grid entry to make it transparent, or to fill the grid entry with a color.
Variants§
Trait Implementations§
§impl Clone for SkCanvas_Lattice_RectType
impl Clone for SkCanvas_Lattice_RectType
§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 more§impl Debug for SkCanvas_Lattice_RectType
impl Debug for SkCanvas_Lattice_RectType
§impl Default for SkCanvas_Lattice_RectType
impl Default for SkCanvas_Lattice_RectType
§fn default() -> SkCanvas_Lattice_RectType
fn default() -> SkCanvas_Lattice_RectType
Returns the “default value” for a type. Read more
§impl Hash for SkCanvas_Lattice_RectType
impl Hash for SkCanvas_Lattice_RectType
§impl PartialEq for SkCanvas_Lattice_RectType
impl PartialEq for SkCanvas_Lattice_RectType
impl Copy for SkCanvas_Lattice_RectType
impl Eq for SkCanvas_Lattice_RectType
impl StructuralPartialEq for SkCanvas_Lattice_RectType
Auto Trait Implementations§
impl Freeze for SkCanvas_Lattice_RectType
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