pub struct PartialSignature<V: Variant> {
pub index: u32,
pub value: V::Signature,
}Expand description
A partial signature.
c.f. super::ops for how to manipulate these.
Fields§
§index: u32§value: V::SignatureTrait Implementations§
Source§impl<V: Clone + Variant> Clone for PartialSignature<V>
impl<V: Clone + Variant> Clone for PartialSignature<V>
Source§fn clone(&self) -> PartialSignature<V>
fn clone(&self) -> PartialSignature<V>
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<V: Variant> EncodeSize for PartialSignature<V>
impl<V: Variant> EncodeSize for PartialSignature<V>
Source§fn encode_size(&self) -> usize
fn encode_size(&self) -> usize
Returns the encoded size of this value (in bytes).
Source§impl<V: Ord + Variant> Ord for PartialSignature<V>
impl<V: Ord + Variant> Ord for PartialSignature<V>
Source§impl<V: PartialOrd + Variant> PartialOrd for PartialSignature<V>where
V::Signature: PartialOrd,
impl<V: PartialOrd + Variant> PartialOrd for PartialSignature<V>where
V::Signature: PartialOrd,
Source§impl<V: Variant> Read for PartialSignature<V>
impl<V: Variant> Read for PartialSignature<V>
Source§impl<V: Variant> Write for PartialSignature<V>
impl<V: Variant> Write for PartialSignature<V>
impl<V: Eq + Variant> Eq for PartialSignature<V>
impl<V: Variant> StructuralPartialEq for PartialSignature<V>
Auto Trait Implementations§
impl<V> Freeze for PartialSignature<V>
impl<V> RefUnwindSafe for PartialSignature<V>
impl<V> Send for PartialSignature<V>
impl<V> Sync for PartialSignature<V>
impl<V> Unpin for PartialSignature<V>
impl<V> UnwindSafe for PartialSignature<V>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<T> Encode for Twhere
T: Write + EncodeSize,
impl<T> Encode for Twhere
T: Write + EncodeSize,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more