pub struct IconPixmap {
pub width: i32,
pub height: i32,
pub data: Vec<u8>,
}Fields§
§width: i32§height: i32§data: Vec<u8>Trait Implementations§
Source§impl Clone for IconPixmap
impl Clone for IconPixmap
Source§fn clone(&self) -> IconPixmap
fn clone(&self) -> IconPixmap
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IconPixmap
impl Debug for IconPixmap
Source§impl Default for IconPixmap
impl Default for IconPixmap
Source§fn default() -> IconPixmap
fn default() -> IconPixmap
Returns the “default value” for a type. Read more
Source§impl From<IconPixmap> for Value<'static>
impl From<IconPixmap> for Value<'static>
Source§fn from(s: IconPixmap) -> Self
fn from(s: IconPixmap) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IconPixmap
impl PartialEq for IconPixmap
Source§fn eq(&self, other: &IconPixmap) -> bool
fn eq(&self, other: &IconPixmap) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IconPixmap
Source§impl TryFrom<IconPixmap> for OwnedValue
impl TryFrom<IconPixmap> for OwnedValue
Source§impl TryFrom<OwnedValue> for IconPixmap
impl TryFrom<OwnedValue> for IconPixmap
Source§impl TryFrom<Value<'static>> for IconPixmap
impl TryFrom<Value<'static>> for IconPixmap
Auto Trait Implementations§
impl Freeze for IconPixmap
impl RefUnwindSafe for IconPixmap
impl Send for IconPixmap
impl Sync for IconPixmap
impl Unpin for IconPixmap
impl UnsafeUnpin for IconPixmap
impl UnwindSafe for IconPixmap
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