pub struct ElementRef {
pub name: String,
pub element: Element,
pub owner: Arc<Structure>,
pub path: Vec<String>,
}Expand description
An element found on a type.
Fields§
§name: StringThe element’s name, as looked up.
element: Element§owner: Arc<Structure>The structure that defines the element.
path: Vec<String>The path to the element inside owner.
Trait Implementations§
Source§impl Clone for ElementRef
impl Clone for ElementRef
Auto Trait Implementations§
impl Freeze for ElementRef
impl RefUnwindSafe for ElementRef
impl Send for ElementRef
impl Sync for ElementRef
impl Unpin for ElementRef
impl UnsafeUnpin for ElementRef
impl UnwindSafe for ElementRef
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