pub struct Extras<Extra>(pub Extra);Tuple Fields§
§0: ExtraTrait Implementations§
Source§impl<Extra> InlineOutput for Extras<Extra>
impl<Extra> InlineOutput for Extras<Extra>
fn slice_to_output(slice: &[Self], output: &mut impl Output)where
Self: Sized,
Source§impl<Extra> ListHashes for Extras<Extra>
impl<Extra> ListHashes for Extras<Extra>
fn list_hashes(&self, f: &mut impl FnMut(Hash))
fn topology_hash(&self) -> Hash
fn point_count(&self) -> usize
Source§impl<Extra, __I: ParseInput> Parse<__I> for Extras<Extra>where
Self: ParseInline<__I>,
impl<Extra, __I: ParseInput> Parse<__I> for Extras<Extra>where
Self: ParseInline<__I>,
Source§impl<I: PointInput> ParseInline<I> for Extras<I::Extra>
impl<I: PointInput> ParseInline<I> for Extras<I::Extra>
Source§fn parse_inline(input: &mut I) -> Result<Self>
fn parse_inline(input: &mut I) -> Result<Self>
Parse without consuming the whole stream. Errors on unexpected EOF.
Source§fn parse_as_inline(input: I) -> Result<Self, Error>
fn parse_as_inline(input: I) -> Result<Self, Error>
For implementing
Parse::parse.Source§fn parse_vec(input: I) -> Result<Vec<Self>, Error>
fn parse_vec(input: I) -> Result<Vec<Self>, Error>
Parse a
Vec of Self. Customisable for optimisations.Source§fn parse_vec_n(input: &mut I, n: usize) -> Result<Vec<Self>, Error>
fn parse_vec_n(input: &mut I, n: usize) -> Result<Vec<Self>, Error>
Parse a
Vec of Self of length n. Customisable for optimisations.Source§fn parse_array<const N: usize>(input: &mut I) -> Result<[Self; N], Error>
fn parse_array<const N: usize>(input: &mut I) -> Result<[Self; N], Error>
Parse an array of
Self. Customisable for optimisations.Source§fn parse_generic_array<N>(input: &mut I) -> Result<GenericArray<Self, N>, Error>where
N: ArrayLength,
fn parse_generic_array<N>(input: &mut I) -> Result<GenericArray<Self, N>, Error>where
N: ArrayLength,
Parse a
GenericArray of Self. Customisable for optimisations.Auto Trait Implementations§
impl<Extra> Freeze for Extras<Extra>where
Extra: Freeze,
impl<Extra> RefUnwindSafe for Extras<Extra>where
Extra: RefUnwindSafe,
impl<Extra> Send for Extras<Extra>where
Extra: Send,
impl<Extra> Sync for Extras<Extra>where
Extra: Sync,
impl<Extra> Unpin for Extras<Extra>where
Extra: Unpin,
impl<Extra> UnsafeUnpin for Extras<Extra>where
Extra: UnsafeUnpin,
impl<Extra> UnwindSafe for Extras<Extra>where
Extra: UnwindSafe,
Blanket Implementations§
Source§impl<T> AsAny for T
impl<T> AsAny for T
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