orx_selfref_col

Trait Refs

Source
pub trait Refs: Clone + Debug {
    // Required methods
    fn empty() -> Self;
    fn is_empty(&self) -> bool;
    fn clear(&mut self);
}
Expand description

References among nodes.

Required Methods§

Source

fn empty() -> Self

Creates an empty references.

Source

fn is_empty(&self) -> bool

Returns true if the references collection is empty.

Source

fn clear(&mut self)

Clears the references.

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 Refs for RefsNone

Source§

impl<V: Variant> Refs for RefsSingle<V>

Source§

impl<V: Variant> Refs for RefsVec<V>

Source§

impl<const N: usize, V> Refs for RefsArray<N, V>
where V: Variant,