pub struct Char {
pub byte: u8,
}
Expand description
An ASCII character.
Fields§
§byte: u8
Implementations§
Source§impl Char
impl Char
pub fn move_instance(self) -> MoveInstance<Self>
pub fn type_() -> CharTypeTag
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Char
impl<'de> Deserialize<'de> for Char
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MoveStruct for Char
impl MoveStruct for Char
type StructTag = CharTypeTag
Source§impl MoveType for Char
impl MoveType for Char
Source§impl StaticModule for Char
impl StaticModule for Char
fn module() -> Identifier
Source§impl StaticName for Char
impl StaticName for Char
fn name() -> Identifier
Source§impl StaticTypeParams for Char
impl StaticTypeParams for Char
fn type_params() -> Vec<TypeTag>
impl Eq for Char
impl StructuralPartialEq for Char
Auto Trait Implementations§
impl Freeze for Char
impl RefUnwindSafe for Char
impl Send for Char
impl Sync for Char
impl Unpin for Char
impl UnwindSafe for Char
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