pub struct Nullability(pub u8);Tuple Fields§
§0: u8Implementations§
Source§impl Nullability
impl Nullability
pub const NEVER: Nullability
pub const CENTER: Nullability
pub const ALWAYS: Nullability
pub const BEGIN: Nullability
pub const END: Nullability
pub const NONBEGIN: Nullability
pub const EMPTYSTRING: Nullability
pub fn has(self, flag: Nullability) -> bool
pub fn and(self, other: Nullability) -> Nullability
pub fn or(self, other: Nullability) -> Nullability
pub fn not(self) -> Nullability
Trait Implementations§
Source§impl Clone for Nullability
impl Clone for Nullability
Source§fn clone(&self) -> Nullability
fn clone(&self) -> Nullability
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 Debug for Nullability
impl Debug for Nullability
Source§impl Hash for Nullability
impl Hash for Nullability
Source§impl Ord for Nullability
impl Ord for Nullability
Source§fn cmp(&self, other: &Nullability) -> Ordering
fn cmp(&self, other: &Nullability) -> Ordering
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 PartialEq for Nullability
impl PartialEq for Nullability
Source§impl PartialOrd for Nullability
impl PartialOrd for Nullability
impl Copy for Nullability
impl Eq for Nullability
impl StructuralPartialEq for Nullability
Auto Trait Implementations§
impl Freeze for Nullability
impl RefUnwindSafe for Nullability
impl Send for Nullability
impl Sync for Nullability
impl Unpin for Nullability
impl UnsafeUnpin for Nullability
impl UnwindSafe for Nullability
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