pub struct JohnsonSolid { /* private fields */ }Expand description
A Johnson solid descriptor.
Implementations§
Source§impl JohnsonSolid
impl JohnsonSolid
Sourcepub const fn new(id: JohnsonSolidId) -> Self
pub const fn new(id: JohnsonSolidId) -> Self
Creates a Johnson solid descriptor.
Sourcepub const fn id(self) -> JohnsonSolidId
pub const fn id(self) -> JohnsonSolidId
Returns the Johnson solid identifier.
Trait Implementations§
Source§impl Clone for JohnsonSolid
impl Clone for JohnsonSolid
Source§fn clone(&self) -> JohnsonSolid
fn clone(&self) -> JohnsonSolid
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JohnsonSolid
impl Debug for JohnsonSolid
Source§impl PartialEq for JohnsonSolid
impl PartialEq for JohnsonSolid
Source§fn eq(&self, other: &JohnsonSolid) -> bool
fn eq(&self, other: &JohnsonSolid) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for JohnsonSolid
impl Eq for JohnsonSolid
impl StructuralPartialEq for JohnsonSolid
Auto Trait Implementations§
impl Freeze for JohnsonSolid
impl RefUnwindSafe for JohnsonSolid
impl Send for JohnsonSolid
impl Sync for JohnsonSolid
impl Unpin for JohnsonSolid
impl UnsafeUnpin for JohnsonSolid
impl UnwindSafe for JohnsonSolid
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