pub struct SaberPublicKey(pub Vec<u8>);Tuple Fields§
§0: Vec<u8>Implementations§
Source§impl SaberPublicKey
impl SaberPublicKey
Sourcepub fn from_bytes(bytes: &[u8]) -> Result<Self>
pub fn from_bytes(bytes: &[u8]) -> Result<Self>
Create from a byte slice
Trait Implementations§
Source§impl Clone for SaberPublicKey
impl Clone for SaberPublicKey
Source§fn clone(&self) -> SaberPublicKey
fn clone(&self) -> SaberPublicKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SaberPublicKey
impl RefUnwindSafe for SaberPublicKey
impl Send for SaberPublicKey
impl Sync for SaberPublicKey
impl Unpin for SaberPublicKey
impl UnwindSafe for SaberPublicKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more