pub struct AccessPath { /* private fields */ }
Implementations§
Source§impl AccessPath
impl AccessPath
pub fn root_field(path: FieldName) -> Self
pub fn new(path: FieldPath, identifier: Identifier) -> Self
pub fn identifier(&self) -> &Identifier
pub fn field_path(&self) -> &FieldPath
Trait Implementations§
Source§impl Clone for AccessPath
impl Clone for AccessPath
Source§fn clone(&self) -> AccessPath
fn clone(&self) -> AccessPath
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AccessPath
impl Debug for AccessPath
Source§impl Hash for AccessPath
impl Hash for AccessPath
Source§impl PartialEq for AccessPath
impl PartialEq for AccessPath
impl Eq for AccessPath
impl StructuralPartialEq for AccessPath
Auto Trait Implementations§
impl Freeze for AccessPath
impl RefUnwindSafe for AccessPath
impl Send for AccessPath
impl Sync for AccessPath
impl Unpin for AccessPath
impl UnwindSafe for AccessPath
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more