#[repr(C)]pub struct JSPrintValueOptions {
pub show_hidden: u8,
pub raw_dump: u8,
pub max_depth: u32,
pub max_string_length: u32,
pub max_item_count: u32,
}Expand description
JSPrintValueOptions: how JS_PrintValue renders a value.
Fields§
show_hidden: bool in the header’s bitfield, and this layer reads it as a byte.
raw_dump: u8raw_dump.
max_depth: u32max_depth, 0 for no limit.
max_string_length: u32max_string_length, 0 for no limit.
max_item_count: u32max_item_count, 0 for no limit.
Auto Trait Implementations§
impl Forget for JSPrintValueOptions
impl Freeze for JSPrintValueOptions
impl Move for JSPrintValueOptions
impl RefUnwindSafe for JSPrintValueOptions
impl Send for JSPrintValueOptions
impl Sync for JSPrintValueOptions
impl Unpin for JSPrintValueOptions
impl UnsafeUnpin for JSPrintValueOptions
impl UnwindSafe for JSPrintValueOptions
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