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
Source§const TYPE_DEPTH: i32
const TYPE_DEPTH: i32
Depth of this type in the object inheritance tree. Read more
Source§fn type_index() -> i32
fn type_index() -> i32
The runtime type index of this type.
Source§unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
The object header, mutably. Read more
Auto Trait Implementations§
impl !Freeze for AccessPathObj
impl !Send for AccessPathObj
impl !Sync for AccessPathObj
impl RefUnwindSafe 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