[][src]Struct artichoke_backend::extn::core::kernel::integer::Radix

pub struct Radix(_);

Implementations

impl Radix[src]

#[must_use]pub fn new(radix: u32) -> Option<Self>[src]

Construct a new Radix.

radix must be non-zero otherwise None is returned.

#[must_use]pub unsafe fn new_unchecked(radix: u32) -> Self[src]

Construct a new Radix without checking the value.

Safety

The radix must not be zero.

#[must_use]pub fn as_u32(self) -> u32[src]

Extract the Radix as the underlying u32.

Trait Implementations

impl Clone for Radix[src]

impl Copy for Radix[src]

impl Debug for Radix[src]

impl Default for Radix[src]

impl Eq for Radix[src]

impl Hash for Radix[src]

impl Ord for Radix[src]

impl PartialEq<Radix> for Radix[src]

impl PartialOrd<Radix> for Radix[src]

impl StructuralEq for Radix[src]

impl StructuralPartialEq for Radix[src]

Auto Trait Implementations

impl RefUnwindSafe for Radix[src]

impl Send for Radix[src]

impl Sync for Radix[src]

impl Unpin for Radix[src]

impl UnwindSafe for Radix[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]