pub enum GNumber {
U16(u16),
U32(u32),
U64(u64),
I16(i16),
I32(i32),
I64(i64),
F32(f32),
F64(f64),
}
Expand description
Edge Weight Type constraint enum
Weight can only be a numeric type
eg: GNumber::I32(10)
Variants§
Trait Implementations§
Source§impl PartialOrd for GNumber
impl PartialOrd for GNumber
impl Copy for GNumber
impl StructuralPartialEq for GNumber
Auto Trait Implementations§
impl Freeze for GNumber
impl RefUnwindSafe for GNumber
impl Send for GNumber
impl Sync for GNumber
impl Unpin for GNumber
impl UnwindSafe for GNumber
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