pub enum InternedCode {
Code(u64),
Null,
}Expand description
Outcome of intern_with_policy.
Variants§
Code(u64)
A concrete code was assigned or looked up.
Null
MapToNull was active and the value was unknown — the caller
should set the null bit at this row.
Trait Implementations§
Source§impl Clone for InternedCode
impl Clone for InternedCode
Source§fn clone(&self) -> InternedCode
fn clone(&self) -> InternedCode
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 InternedCode
impl Debug for InternedCode
Source§impl PartialEq for InternedCode
impl PartialEq for InternedCode
impl Copy for InternedCode
impl Eq for InternedCode
impl StructuralPartialEq for InternedCode
Auto Trait Implementations§
impl Freeze for InternedCode
impl RefUnwindSafe for InternedCode
impl Send for InternedCode
impl Sync for InternedCode
impl Unpin for InternedCode
impl UnsafeUnpin for InternedCode
impl UnwindSafe for InternedCode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more