std::option::IntoIter
pub struct IntoIter<A>
- Kind
- struct
- Module
std::option- Since
- 1.0.0
Source: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
The entries of std::option in the Rust reference. This page has 57 cards.
pub struct IntoIter<A>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct Iter<'a, A>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct IterMut<'a, A>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub enum Option<T>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn and<U>(self, optb: Option<U>) -> Option<U>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn and_then<U, F>(self, f: F) -> Option<U> where F: FnOnce(T) -> Option<U>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn as_deref(&self) -> Option<&<T as Deref>::Target> where T: Deref
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn as_deref_mut(&mut self) -> Option<&mut <T as Deref>::Target> where T: DerefMut
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_mut(&mut self) -> Option<&mut T>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_mut_slice(&mut self) -> &mut [T]
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_pin_mut(self: Pin<&mut Option<T>>) -> Option<Pin<&mut T>>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_pin_ref(self: Pin<&Option<T>>) -> Option<Pin<&T>>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_ref(&self) -> Option<&T>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn as_slice(&self) -> &[T]
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn cloned(self) -> Option<T> where T: Clone
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn copied(self) -> Option<T> where T: Copy
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn expect(self, msg: &str) -> T
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn filter<P>(self, predicate: P) -> Option<T> where P: FnOnce(&T) -> bool
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn flatten(self) -> Option<T>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn flatten_mut(self) -> Option<&'a mut T>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn flatten_ref(self) -> Option<&'a T>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn get_or_insert(&mut self, value: T) -> &mut T
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn get_or_insert_default(&mut self) -> &mut T where T: Default
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn get_or_insert_with<F>(&mut self, f: F) -> &mut T where F: FnOnce() -> T
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn get_or_try_insert_with<'a, R, F>( &'a mut self, f: F, ) -> <<R as Try>::Residual as Residual<&'a mut T>>::TryType where F: FnOnce() -> R, R: Try<Output = T>, <R as Try>::Residual: Residual<&'a mut T>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn insert(&mut self, value: T) -> &mut T
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn inspect<F>(self, f: F) -> Option<T> where F: FnOnce(&T)
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn into_flat_iter<A>(self) -> OptionFlatten<A> where T: IntoIterator<IntoIter = A>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_none(&self) -> bool
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn is_none_or(self, f: impl FnOnce(T) -> bool) -> bool
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn is_some(&self) -> bool
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn is_some_and(self, f: impl FnOnce(T) -> bool) -> bool
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn iter(&self) -> Iter<'_, T>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn iter_mut(&mut self) -> IterMut<'_, T>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn map<U, F>(self, f: F) -> Option<U> where F: FnOnce(T) -> U
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn map_or<U, F>(self, default: U, f: F) -> U where F: FnOnce(T) -> U
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn map_or_default<U, F>(self, f: F) -> U where U: Default, F: FnOnce(T) -> U
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn map_or_else<U, D, F>(self, default: D, f: F) -> U where D: FnOnce() -> U, F: FnOnce(T) -> U
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn ok_or<E>(self, err: E) -> Result<T, E>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn ok_or_else<E, F>(self, err: F) -> Result<T, E> where F: FnOnce() -> E
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn or(self, optb: Option<T>) -> Option<T>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn or_else<F>(self, f: F) -> Option<T> where F: FnOnce() -> Option<T>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn reduce<U, R, F>(self, other: Option<U>, f: F) -> Option<R> where T: Into<R>, U: Into<R>, F: FnOnce(T, U) -> R
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn replace(&mut self, value: T) -> Option<T>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn take(&mut self) -> Option<T>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn take_if<P>(&mut self, predicate: P) -> Option<T> where P: FnOnce(&mut T) -> bool
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn transpose(self) -> Result<Option<T>, E>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn unwrap(self) -> T
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn unwrap_or(self, default: T) -> T
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn unwrap_or_default(self) -> T where T: Default
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn unwrap_or_else<F>(self, f: F) -> T where F: FnOnce() -> T
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const unsafe fn unwrap_unchecked(self) -> T
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn unzip(self) -> (Option<T>, Option<U>)
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn xor(self, optb: Option<T>) -> Option<T>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub fn zip<U>(self, other: Option<U>) -> Option<(T, U)>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub const fn zip_with<U, F, R>(self, other: Option<U>, f: F) -> Option<R> where F: FnOnce(T, U) -> R
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.
pub struct OptionFlatten<A>
std::optionSource: doc.rust-lang.org, doc.rust-lang.org. JSON record. This entry is a card. Help write this page.