pub struct CachedTile { /* private fields */ }
Implementations§
Source§impl CachedTile
impl CachedTile
pub fn layer_count(&self) -> Option<u32>
pub fn solid_color(&self) -> Option<[u8; 4]>
pub fn update_layer_count(&self, layer_count: Option<u32>) -> Option<u32>
pub fn update_solid_color( &self, solid_color: Option<[u8; 4]>, ) -> Option<[u8; 4]>
pub fn convert_optimizer_op<P: LayerProps>( tile_op: ControlFlow<OptimizerTileWriteOp>, context: &Context<'_, P>, ) -> ControlFlow<TileWriteOp>
Trait Implementations§
Source§impl Clone for CachedTile
impl Clone for CachedTile
Source§fn clone(&self) -> CachedTile
fn clone(&self) -> CachedTile
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 CachedTile
impl Debug for CachedTile
Source§impl Default for CachedTile
impl Default for CachedTile
Source§fn default() -> CachedTile
fn default() -> CachedTile
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for CachedTile
impl !RefUnwindSafe for CachedTile
impl Send for CachedTile
impl !Sync for CachedTile
impl Unpin for CachedTile
impl UnwindSafe for CachedTile
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)