Struct json_ld_syntax::context::definition::TermBindingRef
source · pub struct TermBindingRef<'a, M, C> {
pub key_metadata: M,
pub definition: Meta<Nullable<TermDefinitionRef<'a, M, C>>, M>,
}
Fields
key_metadata: M
definition: Meta<Nullable<TermDefinitionRef<'a, M, C>>, M>
Implementations
sourceimpl<'a, M, C> TermBindingRef<'a, M, C>
impl<'a, M, C> TermBindingRef<'a, M, C>
pub fn key_metadata(&self) -> &M
Trait Implementations
sourceimpl<'a, M, C> Clone for TermBindingRef<'a, M, C>where
M: Clone,
impl<'a, M, C> Clone for TermBindingRef<'a, M, C>where
M: Clone,
sourceimpl<'a, M: Clone, C> From<&'a TermBinding<M, C>> for TermBindingRef<'a, M, C>
impl<'a, M: Clone, C> From<&'a TermBinding<M, C>> for TermBindingRef<'a, M, C>
sourcefn from(b: &'a TermBinding<M, C>) -> Self
fn from(b: &'a TermBinding<M, C>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl<'a, M, C> RefUnwindSafe for TermBindingRef<'a, M, C>where
C: RefUnwindSafe,
M: RefUnwindSafe,
impl<'a, M, C> Send for TermBindingRef<'a, M, C>where
C: Sync,
M: Send + Sync,
impl<'a, M, C> Sync for TermBindingRef<'a, M, C>where
C: Sync,
M: Sync,
impl<'a, M, C> Unpin for TermBindingRef<'a, M, C>where
M: Unpin,
impl<'a, M, C> UnwindSafe for TermBindingRef<'a, M, C>where
C: RefUnwindSafe,
M: UnwindSafe + RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more