Struct dsntk_model::DcDimension
source · pub struct DcDimension {
pub width: f64,
pub height: f64,
}Expand description
Defines dimensions.
Fields§
§width: f64§height: f64Trait Implementations§
source§impl Clone for DcDimension
impl Clone for DcDimension
source§fn clone(&self) -> DcDimension
fn clone(&self) -> DcDimension
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 DcDimension
impl Debug for DcDimension
impl Copy for DcDimension
Auto Trait Implementations§
impl Freeze for DcDimension
impl RefUnwindSafe for DcDimension
impl Send for DcDimension
impl Sync for DcDimension
impl Unpin for DcDimension
impl UnwindSafe for DcDimension
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)