Enum TileFill
pub enum TileFill<'c> {
Solid([u8; 4]),
Full(&'c [[u8; 4]]),
}
Expand description
A fill that the Layout
uses to write to tiles.
Variants§
Solid([u8; 4])
Fill tile with a solid color.
Full(&'c [[u8; 4]])
Fill tile with provided colors buffer. They are provided in column-major order.
Auto Trait Implementations§
impl<'c> Freeze for TileFill<'c>
impl<'c> RefUnwindSafe for TileFill<'c>
impl<'c> Send for TileFill<'c>
impl<'c> Sync for TileFill<'c>
impl<'c> Unpin for TileFill<'c>
impl<'c> UnwindSafe for TileFill<'c>
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