[][src]Struct cryptid::Scalar

pub struct Scalar(_);

Implementations

impl Scalar[src]

pub fn as_base64(&self) -> String[src]

pub fn as_bytes(&self) -> &[u8; 32][src]

pub fn to_bytes(self) -> [u8; 32][src]

pub fn max_size_bytes() -> usize[src]

pub fn truncated(&self) -> Self[src]

Trait Implementations

impl Clone for Scalar[src]

impl Copy for Scalar[src]

impl Debug for Scalar[src]

impl<'de> Deserialize<'de> for Scalar[src]

impl Eq for Scalar[src]

impl From<[u8; 32]> for Scalar[src]

impl From<u32> for Scalar[src]

impl PartialEq<Scalar> for Scalar[src]

impl Serialize for Scalar[src]

impl StructuralEq for Scalar[src]

impl StructuralPartialEq for Scalar[src]

Auto Trait Implementations

impl RefUnwindSafe for Scalar

impl Send for Scalar

impl Sync for Scalar

impl Unpin for Scalar

impl UnwindSafe for Scalar

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.