pub enum AutoOr<T> {
Auto(Ident),
Some(T),
}Variants§
Trait Implementations§
Source§impl<T: Ord> Ord for AutoOr<T>
impl<T: Ord> Ord for AutoOr<T>
Source§impl<T: PartialOrd> PartialOrd for AutoOr<T>
impl<T: PartialOrd> PartialOrd for AutoOr<T>
Source§impl<T> ToCursors for AutoOr<T>where
T: ToCursors,
impl<T> ToCursors for AutoOr<T>where
T: ToCursors,
fn to_cursors(&self, s: &mut impl CursorSink)
Source§impl<T: ToNumberValue> ToNumberValue for AutoOr<T>
impl<T: ToNumberValue> ToNumberValue for AutoOr<T>
fn to_number_value(&self) -> Option<f32>
fn to_int_value(&self) -> Option<i32>
impl<T: Copy> Copy for AutoOr<T>
impl<T: Eq> Eq for AutoOr<T>
impl<T> StructuralPartialEq for AutoOr<T>
Auto Trait Implementations§
impl<T> Freeze for AutoOr<T>where
T: Freeze,
impl<T> RefUnwindSafe for AutoOr<T>where
T: RefUnwindSafe,
impl<T> Send for AutoOr<T>where
T: Send,
impl<T> Sync for AutoOr<T>where
T: Sync,
impl<T> Unpin for AutoOr<T>where
T: Unpin,
impl<T> UnwindSafe for AutoOr<T>where
T: UnwindSafe,
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