pub struct NestingContext {
pub sym: String,
pub pretty_line: String,
}Expand description
One level of nesting context: the symbol name and the source text of the opening line.
Fields§
§sym: String§pretty_line: StringTrait Implementations§
Source§impl Clone for NestingContext
impl Clone for NestingContext
Auto Trait Implementations§
impl Freeze for NestingContext
impl RefUnwindSafe for NestingContext
impl Send for NestingContext
impl Sync for NestingContext
impl Unpin for NestingContext
impl UnsafeUnpin for NestingContext
impl UnwindSafe for NestingContext
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