Struct dprint_core::formatting::PrintNodeCell
source · [−]pub struct PrintNodeCell { /* private fields */ }
Expand description
A fast implementation of RefCell
Implementations
sourceimpl PrintNodeCell
impl PrintNodeCell
pub fn take_next(self) -> Option<PrintItemPath>
Trait Implementations
sourceimpl From<&'static PrintNodeCell> for PrintItems
impl From<&'static PrintNodeCell> for PrintItems
sourcefn from(value: PrintItemPath) -> Self
fn from(value: PrintItemPath) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for PrintNodeCell
impl !Send for PrintNodeCell
impl !Sync for PrintNodeCell
impl Unpin for PrintNodeCell
impl !UnwindSafe for PrintNodeCell
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more