Struct xcb::sync::CreateCounter
source · pub struct CreateCounter {
pub id: Counter,
pub initial_value: Int64,
}
Expand description
The CreateCounter
request.
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields§
§id: Counter
§initial_value: Int64
Trait Implementations§
source§impl Clone for CreateCounter
impl Clone for CreateCounter
source§fn clone(&self) -> CreateCounter
fn clone(&self) -> CreateCounter
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 CreateCounter
impl Debug for CreateCounter
source§impl RawRequest for CreateCounter
impl RawRequest for CreateCounter
source§fn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
source§impl Request for CreateCounter
impl Request for CreateCounter
impl RequestWithoutReply for CreateCounter
Auto Trait Implementations§
impl Freeze for CreateCounter
impl RefUnwindSafe for CreateCounter
impl Send for CreateCounter
impl Sync for CreateCounter
impl Unpin for CreateCounter
impl UnwindSafe for CreateCounter
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
)