pub struct SuperTypeOptions {
pub flags: SuperTypeFlags,
}Fields§
§flags: SuperTypeFlagsImplementations§
Source§impl SuperTypeOptions
impl SuperTypeOptions
pub fn allow_implode_list(&self) -> bool
pub fn allow_primitive_to_string(&self) -> bool
Trait Implementations§
Source§impl Clone for SuperTypeOptions
impl Clone for SuperTypeOptions
Source§fn clone(&self) -> SuperTypeOptions
fn clone(&self) -> SuperTypeOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 SuperTypeOptions
impl Debug for SuperTypeOptions
Source§impl Default for SuperTypeOptions
impl Default for SuperTypeOptions
Source§fn default() -> SuperTypeOptions
fn default() -> SuperTypeOptions
Returns the “default value” for a type. Read more
Source§impl From<SuperTypeFlags> for SuperTypeOptions
impl From<SuperTypeFlags> for SuperTypeOptions
Source§fn from(flags: SuperTypeFlags) -> Self
fn from(flags: SuperTypeFlags) -> Self
Converts to this type from the input type.
Source§impl Hash for SuperTypeOptions
impl Hash for SuperTypeOptions
Source§impl PartialEq for SuperTypeOptions
impl PartialEq for SuperTypeOptions
impl Copy for SuperTypeOptions
impl Eq for SuperTypeOptions
impl StructuralPartialEq for SuperTypeOptions
Auto Trait Implementations§
impl Freeze for SuperTypeOptions
impl RefUnwindSafe for SuperTypeOptions
impl Send for SuperTypeOptions
impl Sync for SuperTypeOptions
impl Unpin for SuperTypeOptions
impl UnsafeUnpin for SuperTypeOptions
impl UnwindSafe for SuperTypeOptions
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more