#[non_exhaustive]pub struct DisplayArray<'a, T: RawData, D, M: DisplayMethod> {
pub arrays: Vec<&'a ArrayBase<T, D>>,
pub _phantom: PhantomData<M>,
}Expand description
Display wrapper with a phantom type for the display method
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.arrays: Vec<&'a ArrayBase<T, D>>The array to be displayed.
_phantom: PhantomData<M>Marker to hold the display method type.
Implementations§
Trait Implementations§
Source§impl<S, D> Display for DisplayArray<'_, S, D, CommaSeparated>
impl<S, D> Display for DisplayArray<'_, S, D, CommaSeparated>
Source§impl<S, D> Display for DisplayArray<'_, S, D, DoubleJoined>
impl<S, D> Display for DisplayArray<'_, S, D, DoubleJoined>
Source§impl<S, D> Display for DisplayArray<'_, S, D, Joined>
impl<S, D> Display for DisplayArray<'_, S, D, Joined>
Auto Trait Implementations§
impl<'a, T, D, M> Freeze for DisplayArray<'a, T, D, M>
impl<'a, T, D, M> RefUnwindSafe for DisplayArray<'a, T, D, M>
impl<'a, T, D, M> Send for DisplayArray<'a, T, D, M>
impl<'a, T, D, M> Sync for DisplayArray<'a, T, D, M>
impl<'a, T, D, M> Unpin for DisplayArray<'a, T, D, M>where
M: Unpin,
impl<'a, T, D, M> UnwindSafe for DisplayArray<'a, T, D, M>
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