Struct x11rb_protocol::protocol::randr::NotifyData
source · pub struct NotifyData(/* private fields */);
Implementations§
source§impl NotifyData
impl NotifyData
pub fn as_cc(&self) -> CrtcChange
pub fn as_oc(&self) -> OutputChange
pub fn as_op(&self) -> OutputProperty
pub fn as_pc(&self) -> ProviderChange
pub fn as_pp(&self) -> ProviderProperty
pub fn as_rc(&self) -> ResourceChange
pub fn as_lc(&self) -> LeaseNotify
Trait Implementations§
source§impl Clone for NotifyData
impl Clone for NotifyData
source§fn clone(&self) -> NotifyData
fn clone(&self) -> NotifyData
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 NotifyData
impl Debug for NotifyData
source§impl<'de> Deserialize<'de> for NotifyData
impl<'de> Deserialize<'de> for NotifyData
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<CrtcChange> for NotifyData
impl From<CrtcChange> for NotifyData
source§fn from(cc: CrtcChange) -> Self
fn from(cc: CrtcChange) -> Self
Converts to this type from the input type.
source§impl From<LeaseNotify> for NotifyData
impl From<LeaseNotify> for NotifyData
source§fn from(lc: LeaseNotify) -> Self
fn from(lc: LeaseNotify) -> Self
Converts to this type from the input type.
source§impl From<OutputChange> for NotifyData
impl From<OutputChange> for NotifyData
source§fn from(oc: OutputChange) -> Self
fn from(oc: OutputChange) -> Self
Converts to this type from the input type.
source§impl From<OutputProperty> for NotifyData
impl From<OutputProperty> for NotifyData
source§fn from(op: OutputProperty) -> Self
fn from(op: OutputProperty) -> Self
Converts to this type from the input type.
source§impl From<ProviderChange> for NotifyData
impl From<ProviderChange> for NotifyData
source§fn from(pc: ProviderChange) -> Self
fn from(pc: ProviderChange) -> Self
Converts to this type from the input type.
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 From<ResourceChange> for NotifyData
impl From<ResourceChange> for NotifyData
source§fn from(rc: ResourceChange) -> Self
fn from(rc: ResourceChange) -> Self
Converts to this type from the input type.
source§impl Serialize for NotifyData
impl Serialize for NotifyData
source§impl Serialize for NotifyData
impl Serialize for NotifyData
source§impl TryParse for NotifyData
impl TryParse for NotifyData
impl Copy for NotifyData
Auto Trait Implementations§
impl Freeze for NotifyData
impl RefUnwindSafe for NotifyData
impl Send for NotifyData
impl Sync for NotifyData
impl Unpin for NotifyData
impl UnwindSafe for NotifyData
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