Struct secp256k1_zkp_sys::Tag[][src]

#[repr(C)]
pub struct Tag(_);

Implementations

impl Tag[src]

pub fn as_ptr(&self) -> *const c_uchar[src]

Converts the object to a raw pointer for FFI interfacing

pub fn as_mut_ptr(&mut self) -> *mut c_uchar[src]

Converts the object to a mutable raw pointer for FFI interfacing

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

impl Tag[src]

pub fn new() -> Self[src]

Trait Implementations

impl AsRef<[u8; 32]> for Tag[src]

fn as_ref(&self) -> &[c_uchar; 32][src]

Gets a reference to the underlying array

impl CPtr for Tag[src]

type Target = c_uchar

impl Clone for Tag[src]

impl Copy for Tag[src]

impl Debug for Tag[src]

impl Default for Tag[src]

impl Eq for Tag[src]

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

impl Hash for Tag[src]

impl Index<Range<usize>> for Tag[src]

type Output = [c_uchar]

The returned type after indexing.

impl Index<RangeFrom<usize>> for Tag[src]

type Output = [c_uchar]

The returned type after indexing.

impl Index<RangeFull> for Tag[src]

type Output = [c_uchar]

The returned type after indexing.

impl Index<RangeTo<usize>> for Tag[src]

type Output = [c_uchar]

The returned type after indexing.

impl Index<usize> for Tag[src]

type Output = c_uchar

The returned type after indexing.

impl Ord for Tag[src]

impl PartialEq<Tag> for Tag[src]

impl PartialOrd<Tag> for Tag[src]

Auto Trait Implementations

impl RefUnwindSafe for Tag

impl Send for Tag

impl Sync for Tag

impl Unpin for Tag

impl UnwindSafe for Tag

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.