pub struct MuDimension(pub i64);Tuple Fields§
§0: i64Implementations§
Trait Implementations§
Source§impl Clone for MuDimension
impl Clone for MuDimension
Source§fn clone(&self) -> MuDimension
fn clone(&self) -> MuDimension
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 moreimpl Copy for MuDimension
Source§impl Debug for MuDimension
impl Debug for MuDimension
Source§impl Default for MuDimension
impl Default for MuDimension
Source§fn default() -> MuDimension
fn default() -> MuDimension
Returns the “default value” for a type. Read more
Source§impl Display for MuDimension
impl Display for MuDimension
impl Eq for MuDimension
Source§impl From<MuDimension> for Stored
impl From<MuDimension> for Stored
Source§fn from(value: MuDimension) -> Self
fn from(value: MuDimension) -> Self
Converts to this type from the input type.
Source§impl From<MuDimension> for ArgWrap
impl From<MuDimension> for ArgWrap
Source§fn from(t: MuDimension) -> Self
fn from(t: MuDimension) -> Self
Converts to this type from the input type.
Source§impl From<MuDimension> for RegisterValue
impl From<MuDimension> for RegisterValue
Source§fn from(n: MuDimension) -> RegisterValue
fn from(n: MuDimension) -> RegisterValue
Converts to this type from the input type.
Source§impl IntoDigestedOptionResult<Result<Option<Digested>, Error>> for MuDimension
impl IntoDigestedOptionResult<Result<Option<Digested>, Error>> for MuDimension
Source§impl IntoRegisterValueOption<Option<RegisterValue>> for MuDimension
impl IntoRegisterValueOption<Option<RegisterValue>> for MuDimension
fn into_register_value_option(self) -> Option<RegisterValue>
Source§impl NumericOps for MuDimension
impl NumericOps for MuDimension
fn new(number: i64) -> Self
fn new_f64(number: f64) -> Self
fn value_of(self) -> i64
fn register_type(&self) -> RegisterType
fn unit(&self) -> Option<&'static str>
fn to_attribute(&self) -> String
fn value_f64(self) -> f64where
Self: Sized,
fn pt_value(self, prec: Option<u8>) -> f64where
Self: Sized,
fn px_value(self, prec: Option<u8>) -> f64where
Self: Sized,
fn absolute(self) -> Selfwhere
Self: Sized,
fn sign(self) -> i8where
Self: Sized,
fn negate(self) -> Selfwhere
Self: Sized,
fn add<T: NumericOps>(self, other: T) -> Selfwhere
Self: Sized,
fn subtract<T: NumericOps>(self, other: T) -> Selfwhere
Self: Sized,
fn multiply<T: NumericOps>(self, other: T) -> Selfwhere
Self: Sized,
Source§fn divide<T: NumericOps>(self, other: T) -> Selfwhere
Self: Sized,
fn divide<T: NumericOps>(self, other: T) -> Selfwhere
Self: Sized,
Truncating division
Source§fn divideround<T: NumericOps>(self, other: T) -> Selfwhere
Self: Sized,
fn divideround<T: NumericOps>(self, other: T) -> Selfwhere
Self: Sized,
Rounding division
fn smaller<T: NumericOps>(self, other: T) -> Selfwhere
Self: Sized,
fn larger<T: NumericOps>(self, other: T) -> Selfwhere
Self: Sized,
fn to_token(self) -> Tokenwhere
Self: Sized,
fn into_glue_type(self) -> Gluewhere
Self: Sized,
Source§impl Object for MuDimension
impl Object for MuDimension
fn stringify(&self) -> String
fn isa_box(&self) -> bool
fn is_expandable(&self) -> bool
fn is_definition(&self) -> bool
fn is_comment(&self) -> bool
fn be_digested(self) -> Result<Digested>
Source§fn get_locator(&self) -> Option<Locator>
fn get_locator(&self) -> Option<Locator>
The object’s stored source locator, if it has one.
None is the honest
“no recorded source position” (replacing the old Locator::default()
file!()/line!() sentinel). For “where the parser is now” (error
reporting, box creation), use the free fn gullet::get_locator().Source§impl PartialEq for MuDimension
impl PartialEq for MuDimension
impl StructuralPartialEq for MuDimension
Auto Trait Implementations§
impl Freeze for MuDimension
impl RefUnwindSafe for MuDimension
impl Send for MuDimension
impl Sync for MuDimension
impl Unpin for MuDimension
impl UnsafeUnpin for MuDimension
impl UnwindSafe for MuDimension
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more