Type Alias G2Uncompressed

Source
pub type G2Uncompressed = Repr<{ _ }>;

Aliased Type§

struct G2Uncompressed(/* private fields */);

Implementations

Source§

impl<const T: usize> Repr<T>

Source

pub fn inner(&self) -> &[u8; T]

Trait Implementations

Source§

impl<const T: usize> AsMut<[u8]> for Repr<T>

Source§

fn as_mut(&mut self) -> &mut [u8]

Converts this type into a mutable reference of the (usually inferred) input type.
Source§

impl<const T: usize> AsRef<[u8]> for Repr<T>

Source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl<const T: usize> Clone for Repr<T>

Source§

fn clone(&self) -> Repr<T>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<const T: usize> Debug for Repr<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<const T: usize> Default for Repr<T>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de, const T: usize> Deserialize<'de> for Repr<T>

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'a, const T: usize> From<&'a [u8]> for Repr<T>

Source§

fn from(bytes: &[u8]) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<&'a Fp> for Repr<{ Fp::SIZE }>

Source§

fn from(value: &'a Fp) -> Repr<{ Fp::SIZE }>

Converts to this type from the input type.
Source§

impl<'a> From<&'a Fp> for Repr<{ Fp::SIZE }>

Source§

fn from(value: &'a Fp) -> Repr<{ Fp::SIZE }>

Converts to this type from the input type.
Source§

impl<'a> From<&'a Fp> for Repr<{ Fp::SIZE }>

Source§

fn from(value: &'a Fp) -> Repr<{ Fp::SIZE }>

Converts to this type from the input type.
Source§

impl<'a> From<&'a Fp> for Repr<{ Fp::SIZE }>

Source§

fn from(value: &'a Fp) -> Repr<{ Fp::SIZE }>

Converts to this type from the input type.
Source§

impl<'a> From<&'a Fq> for Repr<{ Fq::SIZE }>

Source§

fn from(value: &'a Fq) -> Repr<{ Fq::SIZE }>

Converts to this type from the input type.
Source§

impl<'a> From<&'a Fq> for Repr<{ Fq::SIZE }>

Source§

fn from(value: &'a Fq) -> Repr<{ Fq::SIZE }>

Converts to this type from the input type.
Source§

impl<'a> From<&'a Fq> for Repr<{ Fq::SIZE }>

Source§

fn from(value: &'a Fq) -> Repr<{ Fq::SIZE }>

Converts to this type from the input type.
Source§

impl<'a> From<&'a Fq> for Repr<{ Fq::SIZE }>

Source§

fn from(value: &'a Fq) -> Repr<{ Fq::SIZE }>

Converts to this type from the input type.
Source§

impl<'a> From<&'a Fq> for Repr<{ Fq::SIZE }>

Source§

fn from(value: &'a Fq) -> Repr<{ Fq::SIZE }>

Converts to this type from the input type.
Source§

impl<'a> From<&'a Fq> for Repr<{ Fq::SIZE }>

Source§

fn from(value: &'a Fq) -> Repr<{ Fq::SIZE }>

Converts to this type from the input type.
Source§

impl<'a> From<&'a Fr> for Repr<{ Fr::SIZE }>

Source§

fn from(value: &'a Fr) -> Repr<{ Fr::SIZE }>

Converts to this type from the input type.
Source§

impl<'a> From<&'a Fr> for Repr<{ Fr::SIZE }>

Source§

fn from(value: &'a Fr) -> Repr<{ Fr::SIZE }>

Converts to this type from the input type.
Source§

impl<const T: usize> From<[u8; T]> for Repr<T>

Source§

fn from(bytes: [u8; T]) -> Self

Converts to this type from the input type.
Source§

impl From<Fp> for Repr<{ Fp::SIZE }>

Source§

fn from(value: Fp) -> Repr<{ Fp::SIZE }>

Converts to this type from the input type.
Source§

impl From<Fp> for Repr<{ Fp::SIZE }>

Source§

fn from(value: Fp) -> Repr<{ Fp::SIZE }>

Converts to this type from the input type.
Source§

impl From<Fp> for Repr<{ Fp::SIZE }>

Source§

fn from(value: Fp) -> Repr<{ Fp::SIZE }>

Converts to this type from the input type.
Source§

impl From<Fp> for Repr<{ Fp::SIZE }>

Source§

fn from(value: Fp) -> Repr<{ Fp::SIZE }>

Converts to this type from the input type.
Source§

impl From<Fq> for Repr<{ Fq::SIZE }>

Source§

fn from(value: Fq) -> Repr<{ Fq::SIZE }>

Converts to this type from the input type.
Source§

impl From<Fq> for Repr<{ Fq::SIZE }>

Source§

fn from(value: Fq) -> Repr<{ Fq::SIZE }>

Converts to this type from the input type.
Source§

impl From<Fq> for Repr<{ Fq::SIZE }>

Source§

fn from(value: Fq) -> Repr<{ Fq::SIZE }>

Converts to this type from the input type.
Source§

impl From<Fq> for Repr<{ Fq::SIZE }>

Source§

fn from(value: Fq) -> Repr<{ Fq::SIZE }>

Converts to this type from the input type.
Source§

impl From<Fq> for Repr<{ Fq::SIZE }>

Source§

fn from(value: Fq) -> Repr<{ Fq::SIZE }>

Converts to this type from the input type.
Source§

impl From<Fq> for Repr<{ Fq::SIZE }>

Source§

fn from(value: Fq) -> Repr<{ Fq::SIZE }>

Converts to this type from the input type.
Source§

impl From<Fr> for Repr<{ Fr::SIZE }>

Source§

fn from(value: Fr) -> Repr<{ Fr::SIZE }>

Converts to this type from the input type.
Source§

impl From<Fr> for Repr<{ Fr::SIZE }>

Source§

fn from(value: Fr) -> Repr<{ Fr::SIZE }>

Converts to this type from the input type.
Source§

impl<const T: usize> Index<Range<usize>> for Repr<T>

Source§

type Output = [u8]

The returned type after indexing.
Source§

fn index(&self, range: Range<usize>) -> &Self::Output

Performs the indexing (container[index]) operation. Read more
Source§

impl<const T: usize> Index<RangeFrom<usize>> for Repr<T>

Source§

type Output = [u8]

The returned type after indexing.
Source§

fn index(&self, range: RangeFrom<usize>) -> &Self::Output

Performs the indexing (container[index]) operation. Read more
Source§

impl<const T: usize> Index<RangeTo<usize>> for Repr<T>

Source§

type Output = [u8]

The returned type after indexing.
Source§

fn index(&self, range: RangeTo<usize>) -> &Self::Output

Performs the indexing (container[index]) operation. Read more
Source§

impl<const T: usize> Index<usize> for Repr<T>

Source§

type Output = u8

The returned type after indexing.
Source§

fn index(&self, index: usize) -> &Self::Output

Performs the indexing (container[index]) operation. Read more
Source§

impl<const T: usize> IndexMut<Range<usize>> for Repr<T>

Source§

fn index_mut(&mut self, range: Range<usize>) -> &mut Self::Output

Performs the mutable indexing (container[index]) operation. Read more
Source§

impl<const T: usize> Serialize for Repr<T>

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<const T: usize> Copy for Repr<T>