Struct xcb::sync::SystemcounterBuf
source · pub struct SystemcounterBuf { /* private fields */ }
Implementations§
source§impl SystemcounterBuf
impl SystemcounterBuf
sourcepub fn new(counter: Counter, resolution: Int64, name: &[u8]) -> SystemcounterBuf
pub fn new(counter: Counter, resolution: Int64, name: &[u8]) -> SystemcounterBuf
Construct a new SystemcounterBuf.
Methods from Deref<Target = Systemcounter>§
pub fn counter(&self) -> Counter
pub fn resolution(&self) -> Int64
pub fn name(&self) -> &Lat1Str
Trait Implementations§
source§impl Borrow<Systemcounter> for SystemcounterBuf
impl Borrow<Systemcounter> for SystemcounterBuf
source§fn borrow(&self) -> &Systemcounter
fn borrow(&self) -> &Systemcounter
Immutably borrows from an owned value. Read more
source§impl Clone for SystemcounterBuf
impl Clone for SystemcounterBuf
source§fn clone(&self) -> SystemcounterBuf
fn clone(&self) -> SystemcounterBuf
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 SystemcounterBuf
impl Debug for SystemcounterBuf
Auto Trait Implementations§
impl Freeze for SystemcounterBuf
impl RefUnwindSafe for SystemcounterBuf
impl Send for SystemcounterBuf
impl Sync for SystemcounterBuf
impl Unpin for SystemcounterBuf
impl UnwindSafe for SystemcounterBuf
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
)