pub enum Referent {
Binding(usize),
Element(Box<ElementRef>),
Group(String),
Transform(String),
Type(Type),
}Expand description
What a name refers to.
Variants§
Binding(usize)
A variable: an index into Analysis::bindings.
Element(Box<ElementRef>)
An element of a type.
Group(String)
A group, by name.
Transform(String)
A transform, such as create or translate.
Type(Type)
A type: a parameter or source type, or what create('Type') makes.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Referent
impl Freeze for Referent
impl RefUnwindSafe for Referent
impl Send for Referent
impl Sync for Referent
impl Unpin for Referent
impl UnsafeUnpin for Referent
impl UnwindSafe for Referent
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