[−][src]Struct clarity_repl::clarity::VRFSeed
Implementations
impl VRFSeed
[src]
pub fn as_ptr(&self) -> *const u8
[src]
Converts the object to a raw pointer
pub fn as_mut_ptr(&mut self) -> *mut u8
[src]
Converts the object to a mutable raw pointer
pub fn len(&self) -> usize
[src]
Returns the length of the object as an array
pub fn is_empty(&self) -> bool
[src]
Returns whether the object, as an array, is empty. Always false.
pub fn as_bytes(&self) -> &[u8; 32]
[src]
Returns the underlying bytes.
pub fn to_bytes(&self) -> [u8; 32]
[src]
Returns the underlying bytes.
pub fn into_bytes(self) -> [u8; 32]
[src]
Returns the underlying bytes.
Trait Implementations
impl Clone for VRFSeed
[src]
impl Copy for VRFSeed
[src]
impl Debug for VRFSeed
[src]
impl Eq for VRFSeed
[src]
impl<'a> From<&'a [u8]> for VRFSeed
[src]
impl Hash for VRFSeed
[src]
fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
fn hash_slice<H>(data: &[VRFSeed], state: &mut H) where
H: Hasher,
[src]
H: Hasher,
impl Index<Range<usize>> for VRFSeed
[src]
type Output = [u8]
The returned type after indexing.
fn index(&self, index: Range<usize>) -> &[u8]
[src]
impl Index<RangeFrom<usize>> for VRFSeed
[src]
type Output = [u8]
The returned type after indexing.
fn index(&self, index: RangeFrom<usize>) -> &[u8]
[src]
impl Index<RangeFull> for VRFSeed
[src]
impl Index<RangeTo<usize>> for VRFSeed
[src]
type Output = [u8]
The returned type after indexing.
fn index(&self, index: RangeTo<usize>) -> &[u8]
[src]
impl Index<usize> for VRFSeed
[src]
impl Ord for VRFSeed
[src]
fn cmp(&self, other: &VRFSeed) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<VRFSeed> for VRFSeed
[src]
impl PartialOrd<VRFSeed> for VRFSeed
[src]
Auto Trait Implementations
impl RefUnwindSafe for VRFSeed
impl Send for VRFSeed
impl Sync for VRFSeed
impl Unpin for VRFSeed
impl UnwindSafe for VRFSeed
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,