Enum json_ld::context::inverse::TypeSelection
source · pub enum TypeSelection<T = IriBuf> {
Reverse,
Any,
Type(Type<T>),
}
Variants§
Trait Implementations§
source§impl<T> Clone for TypeSelection<T>where
T: Clone,
impl<T> Clone for TypeSelection<T>where
T: Clone,
source§fn clone(&self) -> TypeSelection<T>
fn clone(&self) -> TypeSelection<T>
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<T> Debug for TypeSelection<T>where
T: Debug,
impl<T> Debug for TypeSelection<T>where
T: Debug,
source§impl<T> PartialEq for TypeSelection<T>where
T: PartialEq,
impl<T> PartialEq for TypeSelection<T>where
T: PartialEq,
source§fn eq(&self, other: &TypeSelection<T>) -> bool
fn eq(&self, other: &TypeSelection<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<T> Eq for TypeSelection<T>where
T: Eq,
impl<T> StructuralPartialEq for TypeSelection<T>
Auto Trait Implementations§
impl<T> Freeze for TypeSelection<T>where
T: Freeze,
impl<T> RefUnwindSafe for TypeSelection<T>where
T: RefUnwindSafe,
impl<T> Send for TypeSelection<T>where
T: Send,
impl<T> Sync for TypeSelection<T>where
T: Sync,
impl<T> Unpin for TypeSelection<T>where
T: Unpin,
impl<T> UnwindSafe for TypeSelection<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
source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.