#[repr(u8)]pub enum CellFill {
Show 16 variants
Empty = 0,
Full = 15,
TopLeft = 8,
TopRight = 4,
BottomLeft = 1,
BottomRight = 2,
Top = 12,
Bottom = 3,
Left = 9,
Right = 6,
BottomRightTopLeft = 10,
BottomLeftTopRight = 5,
NotTopLeft = 7,
NotTopRight = 11,
NotBottomLeft = 14,
NotBottomRight = 13,
}Expand description
A [PixelMap] quadtree node fill pattern, regarding child node storage.
Variants§
Empty = 0
oo
ooFull = 15
xx
xxTopLeft = 8
xo
ooTopRight = 4
ox
ooBottomLeft = 1
oo
xoBottomRight = 2
oo
oxTop = 12
xx
ooBottom = 3
oo
xxLeft = 9
xo
xoRight = 6
ox
oxBottomRightTopLeft = 10
ox
xoBottomLeftTopRight = 5
xo
oxNotTopLeft = 7
ox
xxNotTopRight = 11
xo
xxNotBottomLeft = 14
xx
oxNotBottomRight = 13
xx
xoImplementations§
Trait Implementations§
impl Copy for CellFill
impl StructuralPartialEq for CellFill
Auto Trait Implementations§
impl Freeze for CellFill
impl RefUnwindSafe for CellFill
impl Send for CellFill
impl Sync for CellFill
impl Unpin for CellFill
impl UnwindSafe for CellFill
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more