pub struct Collection<M>(pub Vec<Meta<Object<M>, M>>);
Expand description
Collection of objects.
Tuple Fields§
§0: Vec<Meta<Object<M>, M>>
Trait Implementations§
Source§impl<M: Clone> Clone for Collection<M>
impl<M: Clone> Clone for Collection<M>
Source§fn clone(&self) -> Collection<M>
fn clone(&self) -> Collection<M>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<M: Debug> Debug for Collection<M>
impl<M: Debug> Debug for Collection<M>
Source§impl<M> Parse<M> for Collection<M>
impl<M> Parse<M> for Collection<M>
fn parse_from<L, F>( parser: &mut Parser<L, F>, Meta: Meta<Token, Span>, ) -> Result<Meta<Self, M>, MetaError<L::Error, M>>
fn parse_with<L, F>( parser: &mut Parser<L, F>, ) -> Result<Meta<Self, M>, MetaError<L::Error, M>>
fn parse_empty<L>(meta: M) -> Result<Meta<Self, M>, MetaError<L::Error, M>>where
L: Tokens,
fn parse<C, F, E>( chars: C, metadata_builder: F, ) -> Result<Meta<Self, M>, MetaError<Error<E>, M>>
fn parse_infallible<C, F>( chars: C, metadata_builder: F, ) -> Result<Meta<Self, M>, MetaError<Error, M>>
fn parse_utf8<C, F, E>( chars: C, metadata_builder: F, ) -> Result<Meta<Self, M>, MetaError<Error<E>, M>>
fn parse_utf8_infallible<C, F>( chars: C, metadata_builder: F, ) -> Result<Meta<Self, M>, MetaError<Error, M>>
fn parse_utf16<C, F, E>( chars: C, metadata_builder: F, ) -> Result<Meta<Self, M>, MetaError<Error<E>, M>>
fn parse_utf16_infallible<C, F>( chars: C, metadata_builder: F, ) -> Result<Meta<Self, M>, MetaError<Error, M>>
fn parse_str<F>( string: &str, metadata_builder: F, ) -> Result<Meta<Self, M>, MetaError<Error, M>>
Auto Trait Implementations§
impl<M> Freeze for Collection<M>
impl<M> RefUnwindSafe for Collection<M>where
M: RefUnwindSafe,
impl<M> Send for Collection<M>where
M: Send,
impl<M> Sync for Collection<M>where
M: Sync,
impl<M> Unpin for Collection<M>where
M: Unpin,
impl<M> UnwindSafe for Collection<M>where
M: 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