pub struct RepLevelsAndAtoms<A: Atom> {
pub levels: Vec<u8>,
pub atoms: Vec<A>,
}
Fields§
§levels: Vec<u8>
§atoms: Vec<A>
Implementations§
Source§impl<A: Atom> RepLevelsAndAtoms<A>
impl<A: Atom> RepLevelsAndAtoms<A>
pub fn extend(&mut self, other: &RepLevelsAndAtoms<A>)
Trait Implementations§
Source§impl<A: Clone + Atom> Clone for RepLevelsAndAtoms<A>
impl<A: Clone + Atom> Clone for RepLevelsAndAtoms<A>
Source§fn clone(&self) -> RepLevelsAndAtoms<A>
fn clone(&self) -> RepLevelsAndAtoms<A>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<P: Primitive> Decodable<P> for RepLevelsAndAtoms<P::A>
impl<P: Primitive> Decodable<P> for RepLevelsAndAtoms<P::A>
fn handle_atoms( atoms: Vec<P::A>, depth: u8, _: usize, ) -> CoreResult<RepLevelsAndAtoms<P::A>>
fn handle_null(_: usize) -> RepLevelsAndAtoms<P::A>
fn combine( outputs: Vec<RepLevelsAndAtoms<P::A>>, depth: u8, _: usize, ) -> RepLevelsAndAtoms<P::A>
Auto Trait Implementations§
impl<A> Freeze for RepLevelsAndAtoms<A>
impl<A> RefUnwindSafe for RepLevelsAndAtoms<A>where
A: RefUnwindSafe,
impl<A> Send for RepLevelsAndAtoms<A>
impl<A> Sync for RepLevelsAndAtoms<A>
impl<A> Unpin for RepLevelsAndAtoms<A>where
A: Unpin,
impl<A> UnwindSafe for RepLevelsAndAtoms<A>where
A: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more