pub struct Context {
pub description: String,
/* private fields */
}Fields
description: StringImplementations
sourceimpl Context
impl Context
pub fn new() -> Self
pub fn with_description(description: &str) -> Self
pub fn is_empty(&self) -> bool
pub fn get_length(&self) -> i32
pub fn push(&mut self, node_item: &str, node_type: &str, node_info: &str)
pub fn pop(&mut self) -> String
pub fn context_to_string(&self) -> String
pub fn print_with_context(&self, message: &str) -> String
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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