pub struct Indicator {
pub top_left: u8,
pub top_right: u8,
pub bottom: u8,
}
Fields§
§top_left: u8
§top_right: u8
§bottom: u8
Trait Implementations§
Source§impl FromByteSlice for Indicator
impl FromByteSlice for Indicator
Source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
Source§fn from_le_byte_slice(bytes: &[u8]) -> Indicator
fn from_le_byte_slice(bytes: &[u8]) -> Indicator
Deserialize the implementing type from a byte slice.
impl Copy for Indicator
impl Eq for Indicator
impl StructuralPartialEq for Indicator
Auto Trait Implementations§
impl Freeze for Indicator
impl RefUnwindSafe for Indicator
impl Send for Indicator
impl Sync for Indicator
impl Unpin for Indicator
impl UnwindSafe for Indicator
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