Struct x11rb_protocol::protocol::randr::ProviderProperty
source · pub struct ProviderProperty {
pub window: Window,
pub provider: Provider,
pub atom: Atom,
pub timestamp: Timestamp,
pub state: u8,
}
Fields§
§window: Window
§provider: Provider
§atom: Atom
§timestamp: Timestamp
§state: u8
Trait Implementations§
source§impl Clone for ProviderProperty
impl Clone for ProviderProperty
source§fn clone(&self) -> ProviderProperty
fn clone(&self) -> ProviderProperty
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 ProviderProperty
impl Debug for ProviderProperty
source§impl Default for ProviderProperty
impl Default for ProviderProperty
source§fn default() -> ProviderProperty
fn default() -> ProviderProperty
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ProviderProperty
impl<'de> Deserialize<'de> for ProviderProperty
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 From<ProviderProperty> for NotifyData
impl From<ProviderProperty> for NotifyData
source§fn from(pp: ProviderProperty) -> Self
fn from(pp: ProviderProperty) -> Self
Converts to this type from the input type.
source§impl Hash for ProviderProperty
impl Hash for ProviderProperty
source§impl Ord for ProviderProperty
impl Ord for ProviderProperty
source§fn cmp(&self, other: &ProviderProperty) -> Ordering
fn cmp(&self, other: &ProviderProperty) -> 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 ProviderProperty
impl PartialEq for ProviderProperty
source§fn eq(&self, other: &ProviderProperty) -> bool
fn eq(&self, other: &ProviderProperty) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ProviderProperty
impl PartialOrd for ProviderProperty
source§fn partial_cmp(&self, other: &ProviderProperty) -> Option<Ordering>
fn partial_cmp(&self, other: &ProviderProperty) -> 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 ProviderProperty
impl Serialize for ProviderProperty
source§impl Serialize for ProviderProperty
impl Serialize for ProviderProperty
source§impl TryParse for ProviderProperty
impl TryParse for ProviderProperty
impl Copy for ProviderProperty
impl Eq for ProviderProperty
impl StructuralPartialEq for ProviderProperty
Auto Trait Implementations§
impl Freeze for ProviderProperty
impl RefUnwindSafe for ProviderProperty
impl Send for ProviderProperty
impl Sync for ProviderProperty
impl Unpin for ProviderProperty
impl UnwindSafe for ProviderProperty
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<RawFdContainer>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<RawFdContainer> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more