Struct xcb::randr::RefreshRatesBuf
source · pub struct RefreshRatesBuf { /* private fields */ }
Implementations§
source§impl RefreshRatesBuf
impl RefreshRatesBuf
sourcepub fn new(rates: &[u16]) -> RefreshRatesBuf
pub fn new(rates: &[u16]) -> RefreshRatesBuf
Construct a new RefreshRatesBuf.
Methods from Deref<Target = RefreshRates>§
Trait Implementations§
source§impl Borrow<RefreshRates> for RefreshRatesBuf
impl Borrow<RefreshRates> for RefreshRatesBuf
source§fn borrow(&self) -> &RefreshRates
fn borrow(&self) -> &RefreshRates
Immutably borrows from an owned value. Read more
source§impl Clone for RefreshRatesBuf
impl Clone for RefreshRatesBuf
source§fn clone(&self) -> RefreshRatesBuf
fn clone(&self) -> RefreshRatesBuf
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 RefreshRatesBuf
impl Debug for RefreshRatesBuf
Auto Trait Implementations§
impl Freeze for RefreshRatesBuf
impl RefUnwindSafe for RefreshRatesBuf
impl Send for RefreshRatesBuf
impl Sync for RefreshRatesBuf
impl Unpin for RefreshRatesBuf
impl UnwindSafe for RefreshRatesBuf
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
)