#[non_exhaustive]pub enum TileTopologyBehavior {
Undefined,
RequireAllTiles,
ScaleWhenMissing,
Reserved(u8),
}Expand description
Behavior when one or more tiles are missing from a tiled display, decoded from Tiled Display Topology Data Block (0x12) byte 0 bits 5:4.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Undefined
Behavior is undefined (0).
RequireAllTiles
No image is shown until all tiles are present and operational (1).
ScaleWhenMissing
The image is scaled to fit whatever tiles are currently present (2).
Reserved(u8)
Reserved or unrecognized value (3).
Implementations§
Trait Implementations§
Source§impl Clone for TileTopologyBehavior
impl Clone for TileTopologyBehavior
Source§fn clone(&self) -> TileTopologyBehavior
fn clone(&self) -> TileTopologyBehavior
Returns a duplicate 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 TileTopologyBehavior
impl Debug for TileTopologyBehavior
Source§impl PartialEq for TileTopologyBehavior
impl PartialEq for TileTopologyBehavior
impl Copy for TileTopologyBehavior
impl Eq for TileTopologyBehavior
impl StructuralPartialEq for TileTopologyBehavior
Auto Trait Implementations§
impl Freeze for TileTopologyBehavior
impl RefUnwindSafe for TileTopologyBehavior
impl Send for TileTopologyBehavior
impl Sync for TileTopologyBehavior
impl Unpin for TileTopologyBehavior
impl UnsafeUnpin for TileTopologyBehavior
impl UnwindSafe for TileTopologyBehavior
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