pub struct TileChanges(pub u32);Expand description
Tile change bitmask reported by PrepareCx::take_tile_changes.
Tuple Fields§
§0: u32Implementations§
Source§impl TileChanges
impl TileChanges
pub const PAINT: u32 = 1
pub const OPACITY: u32 = 2
pub const DYNAMIC: u32 = 4
pub const SORT: u32 = 8
pub const fn from_bits(bits: u32) -> Self
pub const fn bits(self) -> u32
pub const fn paint(self) -> bool
pub const fn opacity(self) -> bool
pub const fn dynamic(self) -> bool
pub const fn sort(self) -> bool
pub const fn any_paint(self) -> bool
Trait Implementations§
Source§impl Clone for TileChanges
impl Clone for TileChanges
impl Copy for TileChanges
Source§impl Debug for TileChanges
impl Debug for TileChanges
Source§impl Default for TileChanges
impl Default for TileChanges
impl Eq for TileChanges
Source§impl PartialEq for TileChanges
impl PartialEq for TileChanges
impl StructuralPartialEq for TileChanges
Auto Trait Implementations§
impl Forget for TileChanges
impl Freeze for TileChanges
impl Move for TileChanges
impl RefUnwindSafe for TileChanges
impl Send for TileChanges
impl Sync for TileChanges
impl Unpin for TileChanges
impl UnsafeUnpin for TileChanges
impl UnwindSafe for TileChanges
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