pub enum ExtSetPart<'a> {
Extension(&'a str),
Splice(TermId),
}
Expand description
A part of an extension set term.
Variants§
Extension(&'a str)
An extension.
Splice(TermId)
An extension set to be spliced into the parent extension set.
Trait Implementations§
Source§impl<'a> Clone for ExtSetPart<'a>
impl<'a> Clone for ExtSetPart<'a>
Source§fn clone(&self) -> ExtSetPart<'a>
fn clone(&self) -> ExtSetPart<'a>
Returns a copy 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<'a> Debug for ExtSetPart<'a>
impl<'a> Debug for ExtSetPart<'a>
Source§impl<'a> Hash for ExtSetPart<'a>
impl<'a> Hash for ExtSetPart<'a>
Source§impl<'a> Ord for ExtSetPart<'a>
impl<'a> Ord for ExtSetPart<'a>
Source§fn cmp(&self, other: &ExtSetPart<'a>) -> Ordering
fn cmp(&self, other: &ExtSetPart<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialEq for ExtSetPart<'a>
impl<'a> PartialEq for ExtSetPart<'a>
Source§impl<'a> PartialOrd for ExtSetPart<'a>
impl<'a> PartialOrd for ExtSetPart<'a>
impl<'a> Copy for ExtSetPart<'a>
impl<'a> Eq for ExtSetPart<'a>
impl<'a> StructuralPartialEq for ExtSetPart<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExtSetPart<'a>
impl<'a> RefUnwindSafe for ExtSetPart<'a>
impl<'a> Send for ExtSetPart<'a>
impl<'a> Sync for ExtSetPart<'a>
impl<'a> Unpin for ExtSetPart<'a>
impl<'a> UnwindSafe for ExtSetPart<'a>
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