pub struct Binary;
Expand description
Type representing binary (base-2) values.
Trait Implementations
sourceimpl FiniteSpace for Binary
impl FiniteSpace for Binary
fn to_ordinal(&self) -> Range<usize>
sourceimpl OrderedSpace for Binary
impl OrderedSpace for Binary
sourcefn is_lower_bounded(&self) -> bool
fn is_lower_bounded(&self) -> bool
Returns true iff self
has a well-defined infimum.
sourcefn is_upper_bounded(&self) -> bool
fn is_upper_bounded(&self) -> bool
Returns true iff self
has a well-defined supremum.
sourcefn is_bounded(&self) -> bool
fn is_bounded(&self) -> bool
Returns true iff self
has a well-defined minimum and maximum.
impl Copy for Binary
impl Eq for Binary
impl StructuralEq for Binary
impl StructuralPartialEq for Binary
Auto Trait Implementations
impl RefUnwindSafe for Binary
impl Send for Binary
impl Sync for Binary
impl Unpin for Binary
impl UnwindSafe for Binary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more