pub struct StringType;Expand description
Marker class used to denote the String type with conversions to more specialized types
Trait Implementations§
Source§impl Clone for StringType
 
impl Clone for StringType
Source§fn clone(&self) -> StringType
 
fn clone(&self) -> StringType
Returns a copy 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 StringType
 
impl Debug for StringType
Source§impl From<StringType> for CallbackArgStructField
 
impl From<StringType> for CallbackArgStructField
Source§fn from(x: StringType) -> Self
 
fn from(x: StringType) -> Self
Converts to this type from the input type.
Source§impl From<StringType> for CallbackArgument
 
impl From<StringType> for CallbackArgument
Source§fn from(x: StringType) -> Self
 
fn from(x: StringType) -> Self
Converts to this type from the input type.
Source§impl From<StringType> for FunctionArgStructField
 
impl From<StringType> for FunctionArgStructField
Source§fn from(x: StringType) -> Self
 
fn from(x: StringType) -> Self
Converts to this type from the input type.
Source§impl From<StringType> for FunctionArgument
 
impl From<StringType> for FunctionArgument
Source§fn from(x: StringType) -> Self
 
fn from(x: StringType) -> Self
Converts to this type from the input type.
Source§impl From<StringType> for FunctionReturnValue
 
impl From<StringType> for FunctionReturnValue
Source§fn from(_: StringType) -> Self
 
fn from(_: StringType) -> Self
Converts to this type from the input type.
Source§impl From<StringType> for UniversalStructField
 
impl From<StringType> for UniversalStructField
Source§fn from(value: StringType) -> Self
 
fn from(value: StringType) -> Self
Converts to this type from the input type.
Source§impl InitializerValidator for StringType
 
impl InitializerValidator for StringType
Source§fn validate_default_value(
    &self,
    value: &InitializerDefault,
) -> BindResult<ValidatedDefaultValue>
 
fn validate_default_value( &self, value: &InitializerDefault, ) -> BindResult<ValidatedDefaultValue>
Check that the value is valid for the type
fn bad_initializer_value( field_type: String, value: &InitializerDefault, ) -> BindResult<ValidatedDefaultValue>
Source§impl PartialEq for StringType
 
impl PartialEq for StringType
impl Copy for StringType
impl Eq for StringType
impl StructuralPartialEq for StringType
Auto Trait Implementations§
impl Freeze for StringType
impl RefUnwindSafe for StringType
impl Send for StringType
impl Sync for StringType
impl Unpin for StringType
impl UnwindSafe for StringType
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