pub enum RawCoordinate {
Int(i64),
Float(f64),
}Expand description
Raw numeric input for one coordinate before it has been coerced into the destination coordinate type. Executors / binding layers feed values through this enum so the coercion rules live in one place.
Variants§
Trait Implementations§
Source§impl Clone for RawCoordinate
impl Clone for RawCoordinate
Source§fn clone(&self) -> RawCoordinate
fn clone(&self) -> RawCoordinate
Returns a duplicate 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 RawCoordinate
impl Debug for RawCoordinate
impl Copy for RawCoordinate
Auto Trait Implementations§
impl Freeze for RawCoordinate
impl RefUnwindSafe for RawCoordinate
impl Send for RawCoordinate
impl Sync for RawCoordinate
impl Unpin for RawCoordinate
impl UnsafeUnpin for RawCoordinate
impl UnwindSafe for RawCoordinate
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