pub struct ElementTermView {
pub name: String,
pub declaration: DeclarationBinding,
pub type_name: Option<String>,
pub substitutable: Vec<String>,
}Expand description
An element term with its resolved bindings.
Fields§
§name: String{namespace}local.
declaration: DeclarationBindingHow the declaration resolved.
type_name: Option<String>The governing type’s name, when it resolved.
substitutable: Vec<String>Other element names this term accepts through substitution, sorted. Empty when the term matches only its own name.
Trait Implementations§
Source§impl Clone for ElementTermView
impl Clone for ElementTermView
Source§impl Debug for ElementTermView
impl Debug for ElementTermView
Auto Trait Implementations§
impl Forget for ElementTermView
impl Freeze for ElementTermView
impl Move for ElementTermView
impl RefUnwindSafe for ElementTermView
impl Send for ElementTermViewwhere
RawVecInner: Send,
impl Sync for ElementTermViewwhere
RawVecInner: Sync,
impl Unpin for ElementTermView
impl UnsafeUnpin for ElementTermViewwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for ElementTermViewwhere
RawVecInner: UnwindSafe,
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