pub struct ArrayFromElements<Elements>(pub Elements);Expand description
An array literal with predefined elements written out.
Renders as [E1, E2, E3, ...] where EX is in the element sequence.
Tuple Fields§
§0: ElementsTrait Implementations§
Source§impl<Elements: Clone> Clone for ArrayFromElements<Elements>
 
impl<Elements: Clone> Clone for ArrayFromElements<Elements>
Source§fn clone(&self) -> ArrayFromElements<Elements>
 
fn clone(&self) -> ArrayFromElements<Elements>
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<Elements: Debug> Debug for ArrayFromElements<Elements>
 
impl<Elements: Debug> Debug for ArrayFromElements<Elements>
Auto Trait Implementations§
impl<Elements> Freeze for ArrayFromElements<Elements>where
    Elements: Freeze,
impl<Elements> RefUnwindSafe for ArrayFromElements<Elements>where
    Elements: RefUnwindSafe,
impl<Elements> Send for ArrayFromElements<Elements>where
    Elements: Send,
impl<Elements> Sync for ArrayFromElements<Elements>where
    Elements: Sync,
impl<Elements> Unpin for ArrayFromElements<Elements>where
    Elements: Unpin,
impl<Elements> UnwindSafe for ArrayFromElements<Elements>where
    Elements: 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