pub struct WitnessIndex {
pub segment: WitnessSegment,
pub index: u32,
}Fields§
§segment: WitnessSegment§index: u32Implementations§
Trait Implementations§
Source§impl Clone for WitnessIndex
impl Clone for WitnessIndex
Source§fn clone(&self) -> WitnessIndex
fn clone(&self) -> WitnessIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WitnessIndex
Source§impl Debug for WitnessIndex
impl Debug for WitnessIndex
impl Eq for WitnessIndex
Source§impl<F> Index<WitnessIndex> for Witness<F>
impl<F> Index<WitnessIndex> for Witness<F>
Source§impl<F> IndexMut<WitnessIndex> for Witness<F>
impl<F> IndexMut<WitnessIndex> for Witness<F>
Source§impl Ord for WitnessIndex
impl Ord for WitnessIndex
Source§fn cmp(&self, other: &WitnessIndex) -> Ordering
fn cmp(&self, other: &WitnessIndex) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WitnessIndex
impl PartialEq for WitnessIndex
Source§fn eq(&self, other: &WitnessIndex) -> bool
fn eq(&self, other: &WitnessIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WitnessIndex
impl PartialOrd for WitnessIndex
impl StructuralPartialEq for WitnessIndex
Auto Trait Implementations§
impl Freeze for WitnessIndex
impl RefUnwindSafe for WitnessIndex
impl Send for WitnessIndex
impl Sync for WitnessIndex
impl Unpin for WitnessIndex
impl UnsafeUnpin for WitnessIndex
impl UnwindSafe for WitnessIndex
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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