Struct polywrap_wasm_rs::debug::context::Context
source · pub struct Context {
pub description: String,
/* private fields */
}Fields§
§description: StringImplementations§
source§impl 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§
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