pub struct Settings<A = EmptySettings, B = EmptySettings>(/* private fields */);
Expand description
Settings is a combinator of TableOption
s.
Implementations§
source§impl Settings<(), ()>
impl Settings<(), ()>
sourcepub const fn empty() -> Settings<EmptySettings, EmptySettings>
pub const fn empty() -> Settings<EmptySettings, EmptySettings>
Creates an empty list.
Trait Implementations§
source§impl<R, C, A, B> CellOption<R, C> for Settings<A, B>where
A: CellOption<R, C>,
B: CellOption<R, C>,
Available on crate feature std
only.
impl<R, C, A, B> CellOption<R, C> for Settings<A, B>where
A: CellOption<R, C>,
B: CellOption<R, C>,
Available on crate feature
std
only.source§impl Default for Settings<EmptySettings, EmptySettings>
impl Default for Settings<EmptySettings, EmptySettings>
source§impl<A: Ord, B: Ord> Ord for Settings<A, B>
impl<A: Ord, B: Ord> Ord for Settings<A, B>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<A: PartialEq, B: PartialEq> PartialEq for Settings<A, B>
impl<A: PartialEq, B: PartialEq> PartialEq for Settings<A, B>
source§impl<A: PartialOrd, B: PartialOrd> PartialOrd for Settings<A, B>
impl<A: PartialOrd, B: PartialOrd> PartialOrd for Settings<A, B>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<R, D, C, A, B> TableOption<R, C, D> for Settings<A, B>where
A: TableOption<R, C, D>,
B: TableOption<R, C, D>,
impl<R, D, C, A, B> TableOption<R, C, D> for Settings<A, B>where
A: TableOption<R, C, D>,
B: TableOption<R, C, D>,
impl<A: Copy, B: Copy> Copy for Settings<A, B>
impl<A: Eq, B: Eq> Eq for Settings<A, B>
impl<A, B> StructuralEq for Settings<A, B>
impl<A, B> StructuralPartialEq for Settings<A, B>
Auto Trait Implementations§
impl<A, B> RefUnwindSafe for Settings<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Settings<A, B>
impl<A, B> Sync for Settings<A, B>
impl<A, B> Unpin for Settings<A, B>
impl<A, B> UnwindSafe for Settings<A, B>where
A: UnwindSafe,
B: 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