Struct NotifyData
pub struct NotifyData(/* private fields */);
Implementations§
§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§
§impl Clone for NotifyData
impl Clone for NotifyData
§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 more§impl Debug for NotifyData
impl Debug for NotifyData
§impl From<CrtcChange> for NotifyData
impl From<CrtcChange> for NotifyData
§fn from(cc: CrtcChange) -> NotifyData
fn from(cc: CrtcChange) -> NotifyData
Converts to this type from the input type.
§impl From<LeaseNotify> for NotifyData
impl From<LeaseNotify> for NotifyData
§fn from(lc: LeaseNotify) -> NotifyData
fn from(lc: LeaseNotify) -> NotifyData
Converts to this type from the input type.
§impl From<OutputChange> for NotifyData
impl From<OutputChange> for NotifyData
§fn from(oc: OutputChange) -> NotifyData
fn from(oc: OutputChange) -> NotifyData
Converts to this type from the input type.
§impl From<OutputProperty> for NotifyData
impl From<OutputProperty> for NotifyData
§fn from(op: OutputProperty) -> NotifyData
fn from(op: OutputProperty) -> NotifyData
Converts to this type from the input type.
§impl From<ProviderChange> for NotifyData
impl From<ProviderChange> for NotifyData
§fn from(pc: ProviderChange) -> NotifyData
fn from(pc: ProviderChange) -> NotifyData
Converts to this type from the input type.
§impl From<ProviderProperty> for NotifyData
impl From<ProviderProperty> for NotifyData
§fn from(pp: ProviderProperty) -> NotifyData
fn from(pp: ProviderProperty) -> NotifyData
Converts to this type from the input type.
§impl From<ResourceChange> for NotifyData
impl From<ResourceChange> for NotifyData
§fn from(rc: ResourceChange) -> NotifyData
fn from(rc: ResourceChange) -> NotifyData
Converts to this type from the input type.
§impl Serialize for NotifyData
impl Serialize for NotifyData
§impl TryParse for NotifyData
impl TryParse for NotifyData
§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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
§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