Struct nvbit_model::dim::Dim
source · pub struct Dim {
pub x: u32,
pub y: u32,
pub z: u32,
}Expand description
3-dimensional coordinates.
Fields§
§x: u32§y: u32§z: u32Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Dim
impl<'de> Deserialize<'de> for Dim
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl IntoIterator for Dim
impl IntoIterator for Dim
source§impl Ord for Dim
impl Ord for Dim
source§impl PartialOrd<Dim> for Dim
impl PartialOrd<Dim> for Dim
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for Dim
impl Eq for Dim
impl StructuralEq for Dim
impl StructuralPartialEq for Dim
Auto Trait Implementations§
impl RefUnwindSafe for Dim
impl Send for Dim
impl Sync for Dim
impl Unpin for Dim
impl UnwindSafe for Dim
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