pub struct BaseDimDecl {
pub visibility: Visibility,
pub name: Spanned<DimName>,
}Expand description
Base dimension declaration: base dim Length;
Fields§
§visibility: Visibility§name: Spanned<DimName>Trait Implementations§
Source§impl Clone for BaseDimDecl
impl Clone for BaseDimDecl
Source§fn clone(&self) -> BaseDimDecl
fn clone(&self) -> BaseDimDecl
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 BaseDimDecl
impl Debug for BaseDimDecl
Source§impl FormatEquivalent for BaseDimDecl
impl FormatEquivalent for BaseDimDecl
Source§fn format_equivalent(&self, other: &Self) -> bool
fn format_equivalent(&self, other: &Self) -> bool
Returns
true if self and other are equivalent up to formatting.Auto Trait Implementations§
impl Freeze for BaseDimDecl
impl RefUnwindSafe for BaseDimDecl
impl Send for BaseDimDecl
impl Sync for BaseDimDecl
impl Unpin for BaseDimDecl
impl UnsafeUnpin for BaseDimDecl
impl UnwindSafe for BaseDimDecl
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