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