Enum json_ld_syntax::FragmentRef
source · pub enum FragmentRef<'a, M> {
Value(&'a Meta<Value<M>, M>),
Entry(&'a Entry<M>),
Key(&'a Meta<SmallString<[u8; 16]>, M>),
}
Variants§
Implementations§
source§impl<'a, M> FragmentRef<'a, M>
impl<'a, M> FragmentRef<'a, M>
pub fn is_entry(&self) -> bool
pub fn is_key(&self) -> bool
pub fn is_value(&self) -> bool
pub fn is_null(&self) -> bool
pub fn is_number(&self) -> bool
pub fn is_string(&self) -> bool
pub fn is_array(&self) -> bool
pub fn is_object(&self) -> bool
pub fn strip(self) -> StrippedFragmentRef<'a, M>
source§impl<'a, M> FragmentRef<'a, M>
impl<'a, M> FragmentRef<'a, M>
pub fn sub_fragments(&self) -> SubFragments<'a, M> ⓘ
Trait Implementations§
source§impl<'a, M> Clone for FragmentRef<'a, M>
impl<'a, M> Clone for FragmentRef<'a, M>
source§fn clone(&self) -> FragmentRef<'a, M>
fn clone(&self) -> FragmentRef<'a, M>
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 more