Struct dprint_core::formatting::PrintNodeCell
source · pub struct PrintNodeCell { /* private fields */ }
Expand description
A fast implementation of RefCell
Implementations§
source§impl PrintNodeCell
impl PrintNodeCell
pub fn take_next(self) -> Option<PrintItemPath>
Trait Implementations§
source§impl From<&'static PrintNodeCell> for PrintItems
impl From<&'static PrintNodeCell> for PrintItems
source§fn from(value: PrintItemPath) -> Self
fn from(value: PrintItemPath) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for PrintNodeCell
impl !RefUnwindSafe for PrintNodeCell
impl !Send for PrintNodeCell
impl !Sync for PrintNodeCell
impl Unpin for PrintNodeCell
impl !UnwindSafe for PrintNodeCell
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