#[non_exhaustive]pub enum CustomTypePart {
Name(SymbolPrimitive),
Parameterized(SymbolPrimitive, Vec<CustomTypeParam>),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Name(SymbolPrimitive)
E.g. any of WITH, TIME, andZONE in TIME(20) WITH TIME ZONE
Parameterized(SymbolPrimitive, Vec<CustomTypeParam>)
E.g. TIME(20) in TIME(20) WITH TIME ZONE`
Trait Implementations§
Source§impl Clone for CustomTypePart
impl Clone for CustomTypePart
Source§impl Debug for CustomTypePart
impl Debug for CustomTypePart
Source§impl PartialEq for CustomTypePart
impl PartialEq for CustomTypePart
Source§impl PrettyDoc for CustomTypePart
impl PrettyDoc for CustomTypePart
fn pretty_doc<'b, D, A>(&'b self, arena: &'b D) -> DocBuilder<'b, D, A>
impl StructuralPartialEq for CustomTypePart
Auto Trait Implementations§
impl Freeze for CustomTypePart
impl RefUnwindSafe for CustomTypePart
impl Send for CustomTypePart
impl Sync for CustomTypePart
impl Unpin for CustomTypePart
impl UnsafeUnpin for CustomTypePart
impl UnwindSafe for CustomTypePart
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