Type Alias DynIden

pub type DynIden = SeaRc<dyn Iden>;

Aliased Type§

struct DynIden(/* private fields */);

Implementations

§

impl SeaRc<dyn Iden>

pub fn new<I>(i: I) -> SeaRc<dyn Iden>
where I: Iden + 'static,

Trait Implementations

§

impl Clone for SeaRc<dyn Iden>

§

fn clone(&self) -> SeaRc<dyn Iden>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<I> Debug for SeaRc<I>
where I: Debug + ?Sized,

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Deref for SeaRc<dyn Iden>

§

type Target = dyn Iden

The resulting type after dereferencing.
§

fn deref(&self) -> &<SeaRc<dyn Iden> as Deref>::Target

Dereferences the value.
§

impl IntoIden for SeaRc<dyn Iden>

§

fn into_iden(self) -> SeaRc<dyn Iden>

§

impl PartialEq for SeaRc<dyn Iden>

§

fn eq(&self, other: &SeaRc<dyn Iden>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.