Enum PropertyNotificationReason
#[repr(i32)]pub enum PropertyNotificationReason {
Changed = 0,
Removed = 1,
}Expand description
Property notification reason.
Variants§
Implementations§
§impl PropertyNotificationReason
impl PropertyNotificationReason
pub fn as_str(self) -> &'static str
pub fn convert(num: i32) -> PropertyNotificationReason
Trait Implementations§
§impl Clone for PropertyNotificationReason
impl Clone for PropertyNotificationReason
§fn clone(&self) -> PropertyNotificationReason
fn clone(&self) -> PropertyNotificationReason
Returns a duplicate 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 PropertyNotificationReason
impl Debug for PropertyNotificationReason
§impl Display for PropertyNotificationReason
impl Display for PropertyNotificationReason
§impl PartialEq for PropertyNotificationReason
impl PartialEq for PropertyNotificationReason
§impl VariantConstraint for PropertyNotificationReason
impl VariantConstraint for PropertyNotificationReason
§type DataArg<'a> = PropertyNotificationReason
type DataArg<'a> = PropertyNotificationReason
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§fn as_arg(
&self,
) -> <PropertyNotificationReason as VariantConstraint>::DataArg<'_>
fn as_arg( &self, ) -> <PropertyNotificationReason as VariantConstraint>::DataArg<'_>
impl Copy for PropertyNotificationReason
impl Eq for PropertyNotificationReason
impl PropertyTypeConstraint for PropertyNotificationReason
impl StructuralPartialEq for PropertyNotificationReason
Auto Trait Implementations§
impl Freeze for PropertyNotificationReason
impl RefUnwindSafe for PropertyNotificationReason
impl Send for PropertyNotificationReason
impl Sync for PropertyNotificationReason
impl Unpin for PropertyNotificationReason
impl UnwindSafe for PropertyNotificationReason
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