Struct x11rb_protocol::protocol::render::Pictforminfo
source · pub struct Pictforminfo {
pub id: Pictformat,
pub type_: PictType,
pub depth: u8,
pub direct: Directformat,
pub colormap: Colormap,
}
Fields§
§id: Pictformat
§type_: PictType
§depth: u8
§direct: Directformat
§colormap: Colormap
Trait Implementations§
source§impl Clone for Pictforminfo
impl Clone for Pictforminfo
source§fn clone(&self) -> Pictforminfo
fn clone(&self) -> Pictforminfo
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 Pictforminfo
impl Debug for Pictforminfo
source§impl Default for Pictforminfo
impl Default for Pictforminfo
source§fn default() -> Pictforminfo
fn default() -> Pictforminfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Pictforminfo
impl<'de> Deserialize<'de> for Pictforminfo
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 Pictforminfo
impl Hash for Pictforminfo
source§impl Ord for Pictforminfo
impl Ord for Pictforminfo
source§fn cmp(&self, other: &Pictforminfo) -> Ordering
fn cmp(&self, other: &Pictforminfo) -> 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 Pictforminfo
impl PartialEq for Pictforminfo
source§fn eq(&self, other: &Pictforminfo) -> bool
fn eq(&self, other: &Pictforminfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Pictforminfo
impl PartialOrd for Pictforminfo
source§fn partial_cmp(&self, other: &Pictforminfo) -> Option<Ordering>
fn partial_cmp(&self, other: &Pictforminfo) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for Pictforminfo
impl Serialize for Pictforminfo
source§impl Serialize for Pictforminfo
impl Serialize for Pictforminfo
source§impl TryParse for Pictforminfo
impl TryParse for Pictforminfo
impl Copy for Pictforminfo
impl Eq for Pictforminfo
impl StructuralPartialEq for Pictforminfo
Auto Trait Implementations§
impl Freeze for Pictforminfo
impl RefUnwindSafe for Pictforminfo
impl Send for Pictforminfo
impl Sync for Pictforminfo
impl Unpin for Pictforminfo
impl UnwindSafe for Pictforminfo
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> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<OwnedFd>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more