Struct x11rb::protocol::randr::NotifyData
source · pub struct NotifyData([u8; 28]);
Tuple Fields§
§0: [u8; 28]
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 From<CrtcChange> for NotifyData
impl From<CrtcChange> for NotifyData
source§fn from(cc: CrtcChange) -> NotifyData
fn from(cc: CrtcChange) -> NotifyData
Converts to this type from the input type.
source§impl From<LeaseNotify> for NotifyData
impl From<LeaseNotify> for NotifyData
source§fn from(lc: LeaseNotify) -> NotifyData
fn from(lc: LeaseNotify) -> NotifyData
Converts to this type from the input type.
source§impl From<OutputChange> for NotifyData
impl From<OutputChange> for NotifyData
source§fn from(oc: OutputChange) -> NotifyData
fn from(oc: OutputChange) -> NotifyData
Converts to this type from the input type.
source§impl From<OutputProperty> for NotifyData
impl From<OutputProperty> for NotifyData
source§fn from(op: OutputProperty) -> NotifyData
fn from(op: OutputProperty) -> NotifyData
Converts to this type from the input type.
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 From<ProviderProperty> for NotifyData
impl From<ProviderProperty> for NotifyData
source§fn from(pp: ProviderProperty) -> NotifyData
fn from(pp: ProviderProperty) -> NotifyData
Converts to this type from the input type.
source§impl From<ResourceChange> for NotifyData
impl From<ResourceChange> for NotifyData
source§fn from(rc: ResourceChange) -> NotifyData
fn from(rc: ResourceChange) -> NotifyData
Converts to this type from the input type.
source§impl Serialize for NotifyData
impl Serialize for NotifyData
source§impl TryParse for NotifyData
impl TryParse for NotifyData
source§fn try_parse(value: &[u8]) -> Result<(NotifyData, &[u8]), ParseError>
fn try_parse(value: &[u8]) -> Result<(NotifyData, &[u8]), ParseError>
Try to parse the given values into an instance of this type. Read more
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