Struct xcb::res::ResourceSizeValueBuf
source · [−]pub struct ResourceSizeValueBuf { /* private fields */ }
Implementations
sourceimpl 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
sourceimpl Borrow<ResourceSizeValue> for ResourceSizeValueBuf
impl Borrow<ResourceSizeValue> for ResourceSizeValueBuf
sourcefn borrow(&self) -> &ResourceSizeValue
fn borrow(&self) -> &ResourceSizeValue
Immutably borrows from an owned value. Read more
sourceimpl Clone for ResourceSizeValueBuf
impl Clone for ResourceSizeValueBuf
sourcefn clone(&self) -> ResourceSizeValueBuf
fn clone(&self) -> ResourceSizeValueBuf
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ResourceSizeValueBuf
impl Debug for ResourceSizeValueBuf
sourceimpl Deref for ResourceSizeValueBuf
impl Deref for ResourceSizeValueBuf
type Target = ResourceSizeValue
type Target = ResourceSizeValue
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for ResourceSizeValueBuf
impl Send for ResourceSizeValueBuf
impl Sync for ResourceSizeValueBuf
impl Unpin for ResourceSizeValueBuf
impl UnwindSafe for ResourceSizeValueBuf
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more