pub struct EstreeOptions {
pub loc: bool,
pub offsets: Offsets,
}Expand description
What Ast::to_estree_with writes.
Fields§
§loc: boolA loc on every node, with lines from 1 and columns from 0 in
UTF-16 code units, as acorn’s locations option gives.
offsets: OffsetsWhat start and end count.
Trait Implementations§
Source§impl Clone for EstreeOptions
impl Clone for EstreeOptions
impl Copy for EstreeOptions
Source§impl Debug for EstreeOptions
impl Debug for EstreeOptions
Source§impl Default for EstreeOptions
impl Default for EstreeOptions
impl Eq for EstreeOptions
Source§impl PartialEq for EstreeOptions
impl PartialEq for EstreeOptions
impl StructuralPartialEq for EstreeOptions
Auto Trait Implementations§
impl Forget for EstreeOptions
impl Freeze for EstreeOptions
impl Move for EstreeOptions
impl RefUnwindSafe for EstreeOptions
impl Send for EstreeOptions
impl Sync for EstreeOptions
impl Unpin for EstreeOptions
impl UnsafeUnpin for EstreeOptions
impl UnwindSafe for EstreeOptions
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