pub struct AccessPathObj {
pub parent: Option<ObjectRef>,
pub step: Option<AccessStep>,
pub depth: i32,
/* private fields */
}Expand description
The object behind an AccessPath, laid out as the C++ AccessPathObj.
Fields§
§parent: Option<ObjectRef>The path without its last step; None at the root.
step: Option<AccessStep>The last step; None at the root.
depth: i32The number of steps; 0 at the root.
Trait Implementations§
Source§impl<'a> From<&'a AccessPathObj> for AnyView<'a>
impl<'a> From<&'a AccessPathObj> for AnyView<'a>
Source§fn from(value: &'a AccessPathObj) -> Self
fn from(value: &'a AccessPathObj) -> Self
Converts to this type from the input type.
Source§impl ObjectCore for AccessPathObj
impl ObjectCore for AccessPathObj
Auto Trait Implementations§
impl !Freeze for AccessPathObj
impl RefUnwindSafe for AccessPathObj
impl !Send for AccessPathObj
impl !Sync for AccessPathObj
impl Unpin for AccessPathObj
impl UnsafeUnpin for AccessPathObj
impl UnwindSafe for AccessPathObj
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