pub enum NodeInput {
Null,
Str(Rc<str>),
Num(f64),
Id(u32),
Plain(Plain),
List(Vec<NodeInput>),
Location(Option<SourceLocation>),
Errors(Option<Vec<ErrorDescription>>),
}Expand description
value assigned to a view property (AstArenaNodeInput, strings, numbers)
Variants§
Null
Str(Rc<str>)
Num(f64)
Id(u32)
node id of the arena (views of the arena are passed as ids)
Plain(Plain)
a plain object (or a view of another arena exported as a plain object)
List(Vec<NodeInput>)
Location(Option<SourceLocation>)
Errors(Option<Vec<ErrorDescription>>)
Trait Implementations§
Auto Trait Implementations§
impl !Send for NodeInput
impl !Sync for NodeInput
impl Forget for NodeInput
impl Freeze for NodeInput
impl Move for NodeInput
impl RefUnwindSafe for NodeInput
impl Unpin for NodeInput
impl UnsafeUnpin for NodeInput
impl UnwindSafe for NodeInput
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