pub enum AnyOfSemantics {
Nullable,
Union,
FlexibleUnion,
}Variants§
Nullable
Nullable type pattern: [Type, null]
Union
Union type pattern: multiple complex types
FlexibleUnion
Flexible union: mixed refs and primitives
Trait Implementations§
Source§impl Clone for AnyOfSemantics
impl Clone for AnyOfSemantics
Source§fn clone(&self) -> AnyOfSemantics
fn clone(&self) -> AnyOfSemantics
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 AnyOfSemantics
impl Debug for AnyOfSemantics
Source§impl PartialEq for AnyOfSemantics
impl PartialEq for AnyOfSemantics
impl StructuralPartialEq for AnyOfSemantics
Auto Trait Implementations§
impl Freeze for AnyOfSemantics
impl RefUnwindSafe for AnyOfSemantics
impl Send for AnyOfSemantics
impl Sync for AnyOfSemantics
impl Unpin for AnyOfSemantics
impl UnwindSafe for AnyOfSemantics
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