pub struct MustBeBool<const V: bool>;Implementations§
Trait Implementations§
Source§impl<const V: bool> Clone for MustBeBool<V>
impl<const V: bool> Clone for MustBeBool<V>
Source§fn clone(&self) -> MustBeBool<V>
fn clone(&self) -> MustBeBool<V>
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<const V: bool> Debug for MustBeBool<V>
impl<const V: bool> Debug for MustBeBool<V>
Source§impl<const V: bool> Default for MustBeBool<V>
impl<const V: bool> Default for MustBeBool<V>
Source§impl<'de, const V: bool> Deserialize<'de> for MustBeBool<V>
impl<'de, const V: bool> Deserialize<'de> for MustBeBool<V>
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<const V: bool> Hash for MustBeBool<V>
impl<const V: bool> Hash for MustBeBool<V>
Source§impl<const V: bool> MustBe for MustBeBool<V>
impl<const V: bool> MustBe for MustBeBool<V>
Source§impl<const V: bool> Ord for MustBeBool<V>
impl<const V: bool> Ord for MustBeBool<V>
Source§impl<const V: bool, const W: bool> PartialEq<MustBeBool<W>> for MustBeBool<V>
impl<const V: bool, const W: bool> PartialEq<MustBeBool<W>> for MustBeBool<V>
Source§impl<const V: bool, const W: bool> PartialOrd<MustBeBool<W>> for MustBeBool<V>
impl<const V: bool, const W: bool> PartialOrd<MustBeBool<W>> for MustBeBool<V>
Source§impl<const V: bool> Serialize for MustBeBool<V>
impl<const V: bool> Serialize for MustBeBool<V>
impl<const V: bool> Copy for MustBeBool<V>
impl<const V: bool> Eq for MustBeBool<V>
Auto Trait Implementations§
impl<const V: bool> Freeze for MustBeBool<V>
impl<const V: bool> RefUnwindSafe for MustBeBool<V>
impl<const V: bool> Send for MustBeBool<V>
impl<const V: bool> Sync for MustBeBool<V>
impl<const V: bool> Unpin for MustBeBool<V>
impl<const V: bool> UnwindSafe for MustBeBool<V>
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