Struct arret_runtime::boxed::Char[][src]

#[repr(C, align(16))]
pub struct Char { /* fields omitted */ }

Boxed Unicode character

This corresponds more precisely to a Unicode scalar value.

Implementations

impl Char[src]

pub fn new(heap: &mut impl AsHeap, value: char) -> Gc<Char>[src]

Constructs a new character

pub fn size() -> BoxSize[src]

Returns the box size for characters

pub fn value(&self) -> char[src]

Returns the unboxed value of this character

Trait Implementations

impl Boxed for Char[src]

impl ConstTagged for Char[src]

impl Debug for Char[src]

impl DistinctTagged for Char[src]

impl Hash for Char[src]

impl PartialEq<Char> for Char[src]

impl UniqueTagged for Char[src]

Auto Trait Implementations

impl RefUnwindSafe for Char

impl Send for Char

impl Sync for Char

impl Unpin for Char

impl UnwindSafe for Char

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> EncodeBoxedAbiType for T where
    T: UniqueTagged
[src]

impl<T> From<T> for T[src]

impl<T> HashInHeap for T where
    T: Hash
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> PartialEqInHeap for T where
    T: PartialEq<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.