pub enum Weight {
One,
Expansion(Span),
}Expand description
The common denominator of the exact coordinates of a point.
Variants§
One
The denominator is one: the numerators are the coordinates.
Expansion(Span)
The denominator is the expansion at this span. The predicates of the
implicit-predicates crate do not support it yet: they return None
for a point whose exact coordinates have it.
Trait Implementations§
impl Copy for Weight
impl Eq for Weight
impl StructuralPartialEq for Weight
Auto Trait Implementations§
impl Forget for Weight
impl Freeze for Weight
impl Move for Weight
impl RefUnwindSafe for Weight
impl Send for Weight
impl Sync for Weight
impl Unpin for Weight
impl UnsafeUnpin for Weight
impl UnwindSafe for Weight
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