pub struct Dumps {
pub ensure_ascii: bool,
}Expand description
The options Laya uses. Every call site in Laya keeps Python’s default separators, ", " and
": ", so only ensure_ascii varies.
Fields§
§ensure_ascii: boolEscape everything outside printable ASCII as \uXXXX, as json.dumps does by default.
Implementations§
Trait Implementations§
impl Copy for Dumps
impl Eq for Dumps
impl StructuralPartialEq for Dumps
Auto Trait Implementations§
impl Freeze for Dumps
impl RefUnwindSafe for Dumps
impl Send for Dumps
impl Sync for Dumps
impl Unpin for Dumps
impl UnsafeUnpin for Dumps
impl UnwindSafe for Dumps
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.