pub struct Empty;Expand description
Indicates that the Salt may be empty / optional.
Trait Implementations§
Source§impl MinSize for Empty
impl MinSize for Empty
Source§type CreateError = Infallible
type CreateError = Infallible
The associated error type for creating a
SaltSlice with this constraint.impl Copy for Empty
impl Eq for Empty
impl Salt<Empty> for &[u8]
impl<T: Salt<Empty>> Salt<Empty> for &T
impl<T: Salt<Empty>> Salt<Empty> for &mut T
impl<const C: usize> Salt<Empty> for [u8; C]
impl Salt<Empty> for ()
impl<T: Salt<Empty>> Salt<Empty> for Option<T>
impl<'s> Salt<Empty> for Slice<'s, Empty>
impl<'s> Salt<Empty> for Slice<'s, Min16>
impl<'s> Salt<Empty> for Slice<'s, NonEmpty>
impl StructuralPartialEq for Empty
Auto Trait Implementations§
impl Freeze for Empty
impl RefUnwindSafe for Empty
impl Send for Empty
impl Sync for Empty
impl Unpin for Empty
impl UnwindSafe for Empty
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