pub struct MatrixDims {
pub w: Option<u16>,
pub h: Option<u16>,
}
Expand description
these define matrix width & height (max. segment dimensions)
Fields§
§w: Option<u16>
max width
h: Option<u16>
max height
Trait Implementations§
Source§impl Clone for MatrixDims
impl Clone for MatrixDims
Source§fn clone(&self) -> MatrixDims
fn clone(&self) -> MatrixDims
Returns a duplicate 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 MatrixDims
impl Debug for MatrixDims
Source§impl Default for MatrixDims
impl Default for MatrixDims
Source§fn default() -> MatrixDims
fn default() -> MatrixDims
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MatrixDims
impl<'de> Deserialize<'de> for MatrixDims
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 PartialEq for MatrixDims
impl PartialEq for MatrixDims
Source§impl Serialize for MatrixDims
impl Serialize for MatrixDims
impl StructuralPartialEq for MatrixDims
Auto Trait Implementations§
impl Freeze for MatrixDims
impl RefUnwindSafe for MatrixDims
impl Send for MatrixDims
impl Sync for MatrixDims
impl Unpin for MatrixDims
impl UnwindSafe for MatrixDims
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