Struct ntrumls::PublicKey
[−]
[src]
pub struct PublicKey { /* fields omitted */ }
NTRUMLS public key
Methods
impl PublicKey
[src]
fn import(bytes: &[u8]) -> PublicKey
Import the actual bytes of the key to the struct
fn get_bytes(&self) -> &[u8]
Get the byte slice of the key
Trait Implementations
impl PartialEq for PublicKey
[src]
fn eq(&self, __arg_0: &PublicKey) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PublicKey) -> bool
This method tests for !=
.
impl Eq for PublicKey
[src]
impl Debug for PublicKey
[src]
impl Clone for PublicKey
[src]
fn clone(&self) -> PublicKey
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more