pub struct ToStringOptions {Show 15 fields
pub exhaustive: bool,
pub use_line_breaks: bool,
pub function_type_arguments: bool,
pub hide_table_kind: bool,
pub hide_named_function_type_parameters: bool,
pub hide_function_self_argument: bool,
pub hide_table_alias_expansions: bool,
pub use_question_marks: bool,
pub ignore_synthetic_name: bool,
pub max_table_length: usize,
pub max_type_length: usize,
pub composite_types_single_line_limit: usize,
pub name_map: ToStringNameMap,
pub scope: Option<Arc<Scope>>,
pub named_function_override_arg_names: Vec<String>,
}Fields§
§exhaustive: bool§use_line_breaks: bool§function_type_arguments: bool§hide_table_kind: bool§hide_named_function_type_parameters: bool§hide_function_self_argument: bool§hide_table_alias_expansions: bool§use_question_marks: bool§ignore_synthetic_name: bool§max_table_length: usize§max_type_length: usize§composite_types_single_line_limit: usize§name_map: ToStringNameMap§scope: Option<Arc<Scope>>§named_function_override_arg_names: Vec<String>Implementations§
Source§impl ToStringOptions
impl ToStringOptions
Sourcepub fn to_string_options(exhaustive: bool) -> Self
pub fn to_string_options(exhaustive: bool) -> Self
C++ ToStringOptions(bool exhaustive = false) with the in-class
member initializers from ToString.h:43-59.
Trait Implementations§
Source§impl Clone for ToStringOptions
impl Clone for ToStringOptions
Source§fn clone(&self) -> ToStringOptions
fn clone(&self) -> ToStringOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ToStringOptions
impl Debug for ToStringOptions
Auto Trait Implementations§
impl !Send for ToStringOptions
impl !Sync for ToStringOptions
impl Freeze for ToStringOptions
impl RefUnwindSafe for ToStringOptions
impl Unpin for ToStringOptions
impl UnsafeUnpin for ToStringOptions
impl UnwindSafe for ToStringOptions
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