Struct xcb::sync::Waitcondition
source · pub struct Waitcondition { /* private fields */ }
Implementations§
source§impl Waitcondition
impl Waitcondition
sourcepub fn new(trigger: Trigger, event_threshold: Int64) -> Waitcondition
pub fn new(trigger: Trigger, event_threshold: Int64) -> Waitcondition
Construct a new Waitcondition.
pub fn trigger(&self) -> &Trigger
pub fn event_threshold(&self) -> Int64
Trait Implementations§
source§impl Clone for Waitcondition
impl Clone for Waitcondition
source§fn clone(&self) -> Waitcondition
fn clone(&self) -> Waitcondition
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 Waitcondition
impl Debug for Waitcondition
impl Copy for Waitcondition
Auto Trait Implementations§
impl Freeze for Waitcondition
impl RefUnwindSafe for Waitcondition
impl Send for Waitcondition
impl Sync for Waitcondition
impl Unpin for Waitcondition
impl UnwindSafe for Waitcondition
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
)