Enum flow_sdk::algorithms::secp256k1::rand::seq::index::IndexVec [−][src]
pub enum IndexVec {
// some variants omitted
}
Expand description
A vector of indices.
Multiple internal representations are possible.
Implementations
Return the value at the given index
.
(Note: we cannot implement std::ops::Index
because of lifetime
restrictions.)
Return result as a Vec<usize>
. Conversion may or may not be trivial.
pub fn iter(&'a self) -> IndexVecIter<'a>ⓘNotable traits for IndexVecIter<'a>impl<'a> Iterator for IndexVecIter<'a> type Item = usize;
pub fn iter(&'a self) -> IndexVecIter<'a>ⓘNotable traits for IndexVecIter<'a>impl<'a> Iterator for IndexVecIter<'a> type Item = usize;
Notable traits for IndexVecIter<'a>
impl<'a> Iterator for IndexVecIter<'a> type Item = usize;
Iterate over the indices as a sequence of usize
values
pub fn into_iter(self) -> IndexVecIntoIterⓘNotable traits for IndexVecIntoIterimpl Iterator for IndexVecIntoIter type Item = usize;
pub fn into_iter(self) -> IndexVecIntoIterⓘNotable traits for IndexVecIntoIterimpl Iterator for IndexVecIntoIter type Item = usize;
Notable traits for IndexVecIntoIter
impl Iterator for IndexVecIntoIter type Item = usize;
Convert into an iterator over the indices as a sequence of usize
values
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for IndexVec
impl UnwindSafe for IndexVec
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more