Trait ValueToString

Source
pub trait ValueToString:
    Send
    + Sync
    + NonLocalValue
    + ValueDebug {
    // Required method
    fn to_string(self: Vc<Self>) -> Vc<RcStr>
       where Self: Sized;
}

Required Methods§

Source

fn to_string(self: Vc<Self>) -> Vc<RcStr>
where Self: Sized,

Trait Implementations§

Source§

impl VcValueTrait for Box<dyn ValueToString>

Source§

type ValueTrait = dyn ValueToString

Source§

fn get_trait_type_id() -> TraitTypeId

Returns the type id of the trait object.
Source§

fn get_impl_vtables() -> &'static VTableRegistry<Self::ValueTrait>

Returns the vtable for an implementation of this trait. Panics if ValueTypeId does not implement the trait.
Source§

impl Dynamic<Box<dyn ValueDebug>> for Box<dyn ValueToString>

Source§

impl Dynamic<Box<dyn ValueToString>> for Box<dyn ValueToString>

Source§

impl Upcast<Box<dyn ValueDebug>> for Box<dyn ValueToString>

Source§

impl Upcast<Box<dyn ValueToString>> for Box<dyn ValueToString>

Implementors§