pub struct InlineExtra<T, E = ()>(pub E, pub T);Tuple Fields§
§0: E§1: TTrait Implementations§
Source§impl<T: Clone, E: Clone> Clone for InlineExtra<T, E>
impl<T: Clone, E: Clone> Clone for InlineExtra<T, E>
Source§fn clone(&self) -> InlineExtra<T, E>
fn clone(&self) -> InlineExtra<T, E>
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<T, E> InlineOutput for InlineExtra<T, E>where
E: InlineOutput,
T: InlineOutput,
impl<T, E> InlineOutput for InlineExtra<T, E>where
E: InlineOutput,
T: InlineOutput,
fn slice_to_output(slice: &[Self], output: &mut dyn Output)where
Self: Sized,
Source§impl<T, E> ListHashes for InlineExtra<T, E>where
E: ListHashes,
T: ListHashes,
impl<T, E> ListHashes for InlineExtra<T, E>where
E: ListHashes,
T: ListHashes,
fn list_hashes(&self, visitor: &mut impl FnMut(Hash))
fn topology_hash(&self) -> Hash
fn point_count(&self) -> usize
Source§impl<E: 'static + Send + Sync + Clone + ParseInline<I>, X: 'static + Send + Sync + Clone, T: Parse<J>, I: PointInput<Extra = X, WithExtra<(E, X)> = J>, J: ParseInput> Parse<I> for InlineExtra<T, E>
impl<E: 'static + Send + Sync + Clone + ParseInline<I>, X: 'static + Send + Sync + Clone, T: Parse<J>, I: PointInput<Extra = X, WithExtra<(E, X)> = J>, J: ParseInput> Parse<I> for InlineExtra<T, E>
Source§impl<E: 'static + Send + Sync + Clone + ParseInline<I>, X: 'static + Send + Sync + Clone, T: ParseInline<J>, I: PointInput<Extra = X, WithExtra<(E, X)> = J>, J: ParseInput> ParseInline<I> for InlineExtra<T, E>
impl<E: 'static + Send + Sync + Clone + ParseInline<I>, X: 'static + Send + Sync + Clone, T: ParseInline<J>, I: PointInput<Extra = X, WithExtra<(E, X)> = J>, J: ParseInput> ParseInline<I> for InlineExtra<T, E>
fn parse_inline(input: &mut I) -> Result<Self>
fn parse_as_inline(input: I) -> Result<Self>
fn parse_vec(input: I) -> Result<Vec<Self>>
fn parse_vec_n(input: &mut I, n: usize) -> Result<Vec<Self>>
fn parse_array<const N: usize>(input: &mut I) -> Result<[Self; N]>
fn parse_generic_array<N: ArrayLength>( input: &mut I, ) -> Result<GenericArray<Self, N>>
Source§impl<T, E> Tagged for InlineExtra<T, E>
impl<T, E> Tagged for InlineExtra<T, E>
Source§impl<T, E> ToOutput for InlineExtra<T, E>where
E: InlineOutput,
T: ToOutput,
impl<T, E> ToOutput for InlineExtra<T, E>where
E: InlineOutput,
T: ToOutput,
Source§impl<T, E> Topological for InlineExtra<T, E>where
E: Topological,
T: Topological,
impl<T, E> Topological for InlineExtra<T, E>where
E: Topological,
T: Topological,
impl<T: Copy, E: Copy> Copy for InlineExtra<T, E>
Auto Trait Implementations§
impl<T, E> Freeze for InlineExtra<T, E>
impl<T, E> RefUnwindSafe for InlineExtra<T, E>where
E: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, E> Send for InlineExtra<T, E>
impl<T, E> Sync for InlineExtra<T, E>
impl<T, E> Unpin for InlineExtra<T, E>
impl<T, E> UnsafeUnpin for InlineExtra<T, E>where
E: UnsafeUnpin,
T: UnsafeUnpin,
impl<T, E> UnwindSafe for InlineExtra<T, E>where
E: UnwindSafe,
T: 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