Struct x11rb::protocol::randr::ProviderChange
source · pub struct ProviderChange {
pub timestamp: u32,
pub window: u32,
pub provider: u32,
}
Fields§
§timestamp: u32
§window: u32
§provider: u32
Trait Implementations§
source§impl Clone for ProviderChange
impl Clone for ProviderChange
source§fn clone(&self) -> ProviderChange
fn clone(&self) -> ProviderChange
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 ProviderChange
impl Debug for ProviderChange
source§impl Default for ProviderChange
impl Default for ProviderChange
source§fn default() -> ProviderChange
fn default() -> ProviderChange
Returns the “default value” for a type. Read more
source§impl From<ProviderChange> for NotifyData
impl From<ProviderChange> for NotifyData
source§fn from(pc: ProviderChange) -> NotifyData
fn from(pc: ProviderChange) -> NotifyData
Converts to this type from the input type.
source§impl Hash for ProviderChange
impl Hash for ProviderChange
source§impl Ord for ProviderChange
impl Ord for ProviderChange
source§fn cmp(&self, other: &ProviderChange) -> Ordering
fn cmp(&self, other: &ProviderChange) -> 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 ProviderChange
impl PartialEq for ProviderChange
source§fn eq(&self, other: &ProviderChange) -> bool
fn eq(&self, other: &ProviderChange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ProviderChange
impl PartialOrd for ProviderChange
source§fn partial_cmp(&self, other: &ProviderChange) -> Option<Ordering>
fn partial_cmp(&self, other: &ProviderChange) -> 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 ProviderChange
impl Serialize for ProviderChange
source§impl TryParse for ProviderChange
impl TryParse for ProviderChange
source§fn try_parse(remaining: &[u8]) -> Result<(ProviderChange, &[u8]), ParseError>
fn try_parse(remaining: &[u8]) -> Result<(ProviderChange, &[u8]), ParseError>
Try to parse the given values into an instance of this type. Read more
impl Copy for ProviderChange
impl Eq for ProviderChange
impl StructuralEq for ProviderChange
impl StructuralPartialEq for ProviderChange
Auto Trait Implementations§
impl RefUnwindSafe for ProviderChange
impl Send for ProviderChange
impl Sync for ProviderChange
impl Unpin for ProviderChange
impl UnwindSafe for ProviderChange
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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