pub struct PresenceGate { /* private fields */ }Implementations§
Source§impl PresenceGate
impl PresenceGate
pub fn new() -> Self
pub fn begin_command(&self, channel: u32) -> Result<()>
pub fn finish_command(&self, channel: u32)
pub fn cancel(&self, channel: u32) -> bool
pub fn is_cancelled(&self, channel: u32) -> bool
pub fn is_waiting(&self, channel: u32) -> bool
pub fn has_pending_touch(&self) -> bool
pub fn touch(&self) -> Result<TouchReceipt>
Trait Implementations§
Source§impl Clone for PresenceGate
impl Clone for PresenceGate
Source§fn clone(&self) -> PresenceGate
fn clone(&self) -> PresenceGate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PresenceGate
impl RefUnwindSafe for PresenceGate
impl Send for PresenceGate
impl Sync for PresenceGate
impl Unpin for PresenceGate
impl UnsafeUnpin for PresenceGate
impl UnwindSafe for PresenceGate
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