pub struct DefineBitmap {
pub id: u16,
pub width: u16,
pub height: u16,
pub media_type: ImageType,
pub data: Vec<u8>,
}
Fields§
§id: u16
§width: u16
§height: u16
§media_type: ImageType
§data: Vec<u8>
Trait Implementations§
Source§impl Clone for DefineBitmap
impl Clone for DefineBitmap
Source§fn clone(&self) -> DefineBitmap
fn clone(&self) -> DefineBitmap
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 DefineBitmap
impl Debug for DefineBitmap
Source§impl<'de> Deserialize<'de> for DefineBitmap
impl<'de> Deserialize<'de> for DefineBitmap
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for DefineBitmap
impl Hash for DefineBitmap
Source§impl Ord for DefineBitmap
impl Ord for DefineBitmap
Source§fn cmp(&self, other: &DefineBitmap) -> Ordering
fn cmp(&self, other: &DefineBitmap) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DefineBitmap
impl PartialEq for DefineBitmap
Source§impl PartialOrd for DefineBitmap
impl PartialOrd for DefineBitmap
Source§impl Serialize for DefineBitmap
impl Serialize for DefineBitmap
impl Eq for DefineBitmap
impl StructuralPartialEq for DefineBitmap
Auto Trait Implementations§
impl Freeze for DefineBitmap
impl RefUnwindSafe for DefineBitmap
impl Send for DefineBitmap
impl Sync for DefineBitmap
impl Unpin for DefineBitmap
impl UnwindSafe for DefineBitmap
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