Trait Writable

Source
pub trait Writable:
    AsProperties
    + Sized
    + Clone {
    // Provided methods
    fn set<P>(&mut self, new_value: &P::ValueType) -> Result<()>
       where P: Named + Set,
             P::ValueType: ValueType + Setter<Self, P> { ... }
    fn set_at<P>(
        &mut self,
        index: usize,
        new_value: &P::ValueType,
    ) -> Result<()>
       where P: Named + Set,
             P::ValueType: ValueType + Setter<Self, P> { ... }
}

Provided Methods§

Source

fn set<P>(&mut self, new_value: &P::ValueType) -> Result<()>
where P: Named + Set, P::ValueType: ValueType + Setter<Self, P>,

Source

fn set_at<P>(&mut self, index: usize, new_value: &P::ValueType) -> Result<()>
where P: Named + Set, P::ValueType: ValueType + Setter<Self, P>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<W> Writable for W
where W: AsProperties + ?Sized + Clone,