Struct geometry::orientation::OrientationBytes
source · pub struct OrientationBytes { /* private fields */ }
Expand description
An orientation of a geometric object, represented as raw bytes.
Trait Implementations§
source§impl Clone for OrientationBytes
impl Clone for OrientationBytes
source§fn clone(&self) -> OrientationBytes
fn clone(&self) -> OrientationBytes
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 OrientationBytes
impl Debug for OrientationBytes
source§impl Default for OrientationBytes
impl Default for OrientationBytes
source§fn default() -> OrientationBytes
fn default() -> OrientationBytes
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OrientationBytes
impl<'de> Deserialize<'de> for OrientationBytes
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 From<Orientation> for OrientationBytes
impl From<Orientation> for OrientationBytes
source§fn from(value: Orientation) -> Self
fn from(value: Orientation) -> Self
Converts to this type from the input type.
source§impl Hash for OrientationBytes
impl Hash for OrientationBytes
source§impl PartialEq for OrientationBytes
impl PartialEq for OrientationBytes
source§fn eq(&self, other: &OrientationBytes) -> bool
fn eq(&self, other: &OrientationBytes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OrientationBytes
impl PartialOrd for OrientationBytes
source§fn partial_cmp(&self, other: &OrientationBytes) -> Option<Ordering>
fn partial_cmp(&self, other: &OrientationBytes) -> Option<Ordering>
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 moresource§impl Serialize for OrientationBytes
impl Serialize for OrientationBytes
impl Copy for OrientationBytes
impl Eq for OrientationBytes
impl StructuralPartialEq for OrientationBytes
Auto Trait Implementations§
impl RefUnwindSafe for OrientationBytes
impl Send for OrientationBytes
impl Sync for OrientationBytes
impl Unpin for OrientationBytes
impl UnwindSafe for OrientationBytes
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