Struct x11rb_protocol::protocol::sync::ChangeAlarmAux
source · pub struct ChangeAlarmAux {
pub counter: Option<Counter>,
pub value_type: Option<VALUETYPE>,
pub value: Option<Int64>,
pub test_type: Option<TESTTYPE>,
pub delta: Option<Int64>,
pub events: Option<u32>,
}
Expand description
Auxiliary and optional information for the change_alarm
function
Fields§
§counter: Option<Counter>
§value_type: Option<VALUETYPE>
§value: Option<Int64>
§test_type: Option<TESTTYPE>
§delta: Option<Int64>
§events: Option<u32>
Implementations§
source§impl ChangeAlarmAux
impl ChangeAlarmAux
sourcepub fn counter<I>(self, value: I) -> Selfwhere
I: Into<Option<Counter>>,
pub fn counter<I>(self, value: I) -> Selfwhere I: Into<Option<Counter>>,
Set the counter
field of this structure.
sourcepub fn value_type<I>(self, value: I) -> Selfwhere
I: Into<Option<VALUETYPE>>,
pub fn value_type<I>(self, value: I) -> Selfwhere I: Into<Option<VALUETYPE>>,
Set the value_type
field of this structure.
sourcepub fn value<I>(self, value: I) -> Selfwhere
I: Into<Option<Int64>>,
pub fn value<I>(self, value: I) -> Selfwhere I: Into<Option<Int64>>,
Set the value
field of this structure.
sourcepub fn test_type<I>(self, value: I) -> Selfwhere
I: Into<Option<TESTTYPE>>,
pub fn test_type<I>(self, value: I) -> Selfwhere I: Into<Option<TESTTYPE>>,
Set the test_type
field of this structure.
Trait Implementations§
source§impl Clone for ChangeAlarmAux
impl Clone for ChangeAlarmAux
source§fn clone(&self) -> ChangeAlarmAux
fn clone(&self) -> ChangeAlarmAux
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 ChangeAlarmAux
impl Debug for ChangeAlarmAux
source§impl Default for ChangeAlarmAux
impl Default for ChangeAlarmAux
source§fn default() -> ChangeAlarmAux
fn default() -> ChangeAlarmAux
Returns the “default value” for a type. Read more
source§impl Hash for ChangeAlarmAux
impl Hash for ChangeAlarmAux
source§impl Ord for ChangeAlarmAux
impl Ord for ChangeAlarmAux
source§fn cmp(&self, other: &ChangeAlarmAux) -> Ordering
fn cmp(&self, other: &ChangeAlarmAux) -> 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<ChangeAlarmAux> for ChangeAlarmAux
impl PartialEq<ChangeAlarmAux> for ChangeAlarmAux
source§fn eq(&self, other: &ChangeAlarmAux) -> bool
fn eq(&self, other: &ChangeAlarmAux) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ChangeAlarmAux> for ChangeAlarmAux
impl PartialOrd<ChangeAlarmAux> for ChangeAlarmAux
source§fn partial_cmp(&self, other: &ChangeAlarmAux) -> Option<Ordering>
fn partial_cmp(&self, other: &ChangeAlarmAux) -> 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 moreimpl Copy for ChangeAlarmAux
impl Eq for ChangeAlarmAux
impl StructuralEq for ChangeAlarmAux
impl StructuralPartialEq for ChangeAlarmAux
Auto Trait Implementations§
impl RefUnwindSafe for ChangeAlarmAux
impl Send for ChangeAlarmAux
impl Sync for ChangeAlarmAux
impl Unpin for ChangeAlarmAux
impl UnwindSafe for ChangeAlarmAux
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