Struct json_ld::context::TypeTermDefinition
source · [−]pub struct TypeTermDefinition {
pub container: TypeContainer,
pub protected: bool,
}
Fields
container: TypeContainer
protected: bool
Implementations
sourceimpl TypeTermDefinition
impl TypeTermDefinition
pub fn modulo_protected_field(&self) -> ModuloProtected<&TypeTermDefinition>
pub fn into_syntax_definition<M>(&self, meta: M) -> Meta<Type<M>, M>where
M: Clone,
Trait Implementations
sourceimpl Clone for TypeTermDefinition
impl Clone for TypeTermDefinition
sourcefn clone(&self) -> TypeTermDefinition
fn clone(&self) -> TypeTermDefinition
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for TypeTermDefinition
impl Default for TypeTermDefinition
sourcefn default() -> TypeTermDefinition
fn default() -> TypeTermDefinition
Returns the “default value” for a type. Read more
sourceimpl PartialEq<TypeTermDefinition> for TypeTermDefinition
impl PartialEq<TypeTermDefinition> for TypeTermDefinition
sourcefn eq(&self, other: &TypeTermDefinition) -> bool
fn eq(&self, other: &TypeTermDefinition) -> bool
sourceimpl StrippedPartialEq<TypeTermDefinition> for TypeTermDefinition
impl StrippedPartialEq<TypeTermDefinition> for TypeTermDefinition
fn stripped_eq(&self, other: &TypeTermDefinition) -> bool
impl Eq for TypeTermDefinition
impl StrippedEq for TypeTermDefinition
impl StructuralEq for TypeTermDefinition
impl StructuralPartialEq for TypeTermDefinition
Auto Trait Implementations
impl RefUnwindSafe for TypeTermDefinition
impl Send for TypeTermDefinition
impl Sync for TypeTermDefinition
impl Unpin for TypeTermDefinition
impl UnwindSafe for TypeTermDefinition
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
sourceimpl<T> BorrowStripped for T
impl<T> BorrowStripped for T
sourceimpl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.