pub struct FFIWordFlags(/* private fields */);Implementations§
Source§impl FFIWordFlags
impl FFIWordFlags
pub const NONE: Self
pub const fn has_flags(self, flags: Self) -> bool
pub const fn add_flags(&mut self, flags: Self)
pub const fn remove_flags(&mut self, flags: Self)
pub const fn toggle_flags(&mut self, flags: Self)
pub const fn with_flags(self, flags: Self) -> Self
pub const fn without_flags(self, flags: Self) -> Self
pub const fn count_ones(self) -> u32
pub const fn pop_bottom_index(&mut self) -> Option<u32>
pub fn get_flags(self) -> Box<[(Self, &'static str)]>
Source§impl FFIWordFlags
impl FFIWordFlags
pub const ALL: Self
pub const ALL_FLAGS: &'static [Self]
pub const FLAG_NAMES: &'static [&'static str]
Sourcepub const HAS_DOLLAR: Self
pub const HAS_DOLLAR: Self
Dollar sign present.
Sourcepub const ASSIGNMENT: Self
pub const ASSIGNMENT: Self
This word is a variable assignment.
Sourcepub const SPLIT_SPACE: Self
pub const SPLIT_SPACE: Self
Split this word on “ “ regardless of IFS.
Sourcepub const NO_SPLIT: Self
pub const NO_SPLIT: Self
Do not perform word splitting on this word because IFS is empty string.
Sourcepub const NO_SPLIT2: Self
pub const NO_SPLIT2: Self
Don’t split word except for $@ expansion (using spaces) because context does not allow it.
Sourcepub const NO_COMMAND_SUBSTITUTION: Self
pub const NO_COMMAND_SUBSTITUTION: Self
Don’t perform command substitution on this word.
Sourcepub const ASSIGN_RHS: Self
pub const ASSIGN_RHS: Self
Word is RHS of an assignment statement.
Sourcepub const NO_ASSIGN_TILDE: Self
pub const NO_ASSIGN_TILDE: Self
Don’t do tilde expansion like an assignment statement.
Sourcepub const EXPAND_RHS: Self
pub const EXPAND_RHS: Self
Expanding word in ${paramOPword}
Sourcepub const COMPOUND_ASSIGNMENT: Self
pub const COMPOUND_ASSIGNMENT: Self
Compound assignment. (no idea what that means, better look it up.) // TODO
Sourcepub const ASSIGN_BUILTIN: Self
pub const ASSIGN_BUILTIN: Self
Word is a builtin command that takes assignments
Sourcepub const ASSIGN_ARG: Self
pub const ASSIGN_ARG: Self
Word is assignment argument to command.
Sourcepub const HAS_QUOTED_NULL: Self
pub const HAS_QUOTED_NULL: Self
Word contains a quoted null character.
Sourcepub const DOUBLE_QUOTE: Self
pub const DOUBLE_QUOTE: Self
Word should be treated as if double-quoted. (Unused)
Sourcepub const NO_PROCESS_SUBSTITUTION: Self
pub const NO_PROCESS_SUBSTITUTION: Self
Don’t perform process substitution.
Sourcepub const SAW_QUOTED_NULL: Self
pub const SAW_QUOTED_NULL: Self
Word contained a quoted null that was removed.
Sourcepub const ASSIGN_ASSOC: Self
pub const ASSIGN_ASSOC: Self
Word looks like associative array assignment.
Sourcepub const ASSIGN_ARRAY: Self
pub const ASSIGN_ARRAY: Self
Word looks like a compound indexed array assignment.
Sourcepub const ARRAY_INDEX: Self
pub const ARRAY_INDEX: Self
Word is an array index being expanded.
Sourcepub const ASSIGN_GLOBAL: Self
pub const ASSIGN_GLOBAL: Self
Word is a global assignment to declare
Sourcepub const COMPLETION: Self
pub const COMPLETION: Self
Word is being expanded for completion.
Sourcepub const CHECK_LOCAL: Self
pub const CHECK_LOCAL: Self
Check for local vars on assignment.
Sourcepub const FORCE_LOCAL: Self
pub const FORCE_LOCAL: Self
Force assignment to be local variables, non-fatal on assignment errors.]
pub const fn get_has_dollar(self) -> bool
pub const fn add_has_dollar(&mut self)
pub const fn remove_has_dollar(&mut self)
pub const fn set_has_dollar(&mut self, on: bool)
pub const fn toggle_has_dollar(&mut self)
pub const fn with_has_dollar(self) -> Self
pub const fn without_has_dollar(self) -> Self
pub const fn get_quoted(self) -> bool
pub const fn add_quoted(&mut self)
pub const fn remove_quoted(&mut self)
pub const fn set_quoted(&mut self, on: bool)
pub const fn toggle_quoted(&mut self)
pub const fn with_quoted(self) -> Self
pub const fn without_quoted(self) -> Self
pub const fn get_assignment(self) -> bool
pub const fn add_assignment(&mut self)
pub const fn remove_assignment(&mut self)
pub const fn set_assignment(&mut self, on: bool)
pub const fn toggle_assignment(&mut self)
pub const fn with_assignment(self) -> Self
pub const fn without_assignment(self) -> Self
pub const fn get_split_space(self) -> bool
pub const fn add_split_space(&mut self)
pub const fn remove_split_space(&mut self)
pub const fn set_split_space(&mut self, on: bool)
pub const fn toggle_split_space(&mut self)
pub const fn with_split_space(self) -> Self
pub const fn without_split_space(self) -> Self
pub const fn get_no_split(self) -> bool
pub const fn add_no_split(&mut self)
pub const fn remove_no_split(&mut self)
pub const fn set_no_split(&mut self, on: bool)
pub const fn toggle_no_split(&mut self)
pub const fn with_no_split(self) -> Self
pub const fn without_no_split(self) -> Self
pub const fn get_no_glob(self) -> bool
pub const fn add_no_glob(&mut self)
pub const fn remove_no_glob(&mut self)
pub const fn set_no_glob(&mut self, on: bool)
pub const fn toggle_no_glob(&mut self)
pub const fn with_no_glob(self) -> Self
pub const fn without_no_glob(self) -> Self
pub const fn get_no_split2(self) -> bool
pub const fn add_no_split2(&mut self)
pub const fn remove_no_split2(&mut self)
pub const fn set_no_split2(&mut self, on: bool)
pub const fn toggle_no_split2(&mut self)
pub const fn with_no_split2(self) -> Self
pub const fn without_no_split2(self) -> Self
pub const fn get_tilde_exp(self) -> bool
pub const fn add_tilde_exp(&mut self)
pub const fn remove_tilde_exp(&mut self)
pub const fn set_tilde_exp(&mut self, on: bool)
pub const fn toggle_tilde_exp(&mut self)
pub const fn with_tilde_exp(self) -> Self
pub const fn without_tilde_exp(self) -> Self
pub const fn get_dollar_at(self) -> bool
pub const fn add_dollar_at(&mut self)
pub const fn remove_dollar_at(&mut self)
pub const fn set_dollar_at(&mut self, on: bool)
pub const fn toggle_dollar_at(&mut self)
pub const fn with_dollar_at(self) -> Self
pub const fn without_dollar_at(self) -> Self
pub const fn get_array_ref(self) -> bool
pub const fn add_array_ref(&mut self)
pub const fn remove_array_ref(&mut self)
pub const fn set_array_ref(&mut self, on: bool)
pub const fn toggle_array_ref(&mut self)
pub const fn with_array_ref(self) -> Self
pub const fn without_array_ref(self) -> Self
pub const fn get_no_command_substitution(self) -> bool
pub const fn add_no_command_substitution(&mut self)
pub const fn remove_no_command_substitution(&mut self)
pub const fn set_no_command_substitution(&mut self, on: bool)
pub const fn toggle_no_command_substitution(&mut self)
pub const fn with_no_command_substitution(self) -> Self
pub const fn without_no_command_substitution(self) -> Self
pub const fn get_assign_rhs(self) -> bool
pub const fn add_assign_rhs(&mut self)
pub const fn remove_assign_rhs(&mut self)
pub const fn set_assign_rhs(&mut self, on: bool)
pub const fn toggle_assign_rhs(&mut self)
pub const fn with_assign_rhs(self) -> Self
pub const fn without_assign_rhs(self) -> Self
pub const fn get_no_tilde(self) -> bool
pub const fn add_no_tilde(&mut self)
pub const fn remove_no_tilde(&mut self)
pub const fn set_no_tilde(&mut self, on: bool)
pub const fn toggle_no_tilde(&mut self)
pub const fn with_no_tilde(self) -> Self
pub const fn without_no_tilde(self) -> Self
pub const fn get_no_assign_tilde(self) -> bool
pub const fn add_no_assign_tilde(&mut self)
pub const fn remove_no_assign_tilde(&mut self)
pub const fn set_no_assign_tilde(&mut self, on: bool)
pub const fn toggle_no_assign_tilde(&mut self)
pub const fn with_no_assign_tilde(self) -> Self
pub const fn without_no_assign_tilde(self) -> Self
pub const fn get_expand_rhs(self) -> bool
pub const fn add_expand_rhs(&mut self)
pub const fn remove_expand_rhs(&mut self)
pub const fn set_expand_rhs(&mut self, on: bool)
pub const fn toggle_expand_rhs(&mut self)
pub const fn with_expand_rhs(self) -> Self
pub const fn without_expand_rhs(self) -> Self
pub const fn get_compound_assignment(self) -> bool
pub const fn add_compound_assignment(&mut self)
pub const fn remove_compound_assignment(&mut self)
pub const fn set_compound_assignment(&mut self, on: bool)
pub const fn toggle_compound_assignment(&mut self)
pub const fn with_compound_assignment(self) -> Self
pub const fn without_compound_assignment(self) -> Self
pub const fn get_assign_builtin(self) -> bool
pub const fn add_assign_builtin(&mut self)
pub const fn remove_assign_builtin(&mut self)
pub const fn set_assign_builtin(&mut self, on: bool)
pub const fn toggle_assign_builtin(&mut self)
pub const fn with_assign_builtin(self) -> Self
pub const fn without_assign_builtin(self) -> Self
pub const fn get_assign_arg(self) -> bool
pub const fn add_assign_arg(&mut self)
pub const fn remove_assign_arg(&mut self)
pub const fn set_assign_arg(&mut self, on: bool)
pub const fn toggle_assign_arg(&mut self)
pub const fn with_assign_arg(self) -> Self
pub const fn without_assign_arg(self) -> Self
pub const fn get_has_quoted_null(self) -> bool
pub const fn add_has_quoted_null(&mut self)
pub const fn remove_has_quoted_null(&mut self)
pub const fn set_has_quoted_null(&mut self, on: bool)
pub const fn toggle_has_quoted_null(&mut self)
pub const fn with_has_quoted_null(self) -> Self
pub const fn without_has_quoted_null(self) -> Self
pub const fn get_double_quote(self) -> bool
pub const fn add_double_quote(&mut self)
pub const fn remove_double_quote(&mut self)
pub const fn set_double_quote(&mut self, on: bool)
pub const fn toggle_double_quote(&mut self)
pub const fn with_double_quote(self) -> Self
pub const fn without_double_quote(self) -> Self
pub const fn get_no_process_substitution(self) -> bool
pub const fn add_no_process_substitution(&mut self)
pub const fn remove_no_process_substitution(&mut self)
pub const fn set_no_process_substitution(&mut self, on: bool)
pub const fn toggle_no_process_substitution(&mut self)
pub const fn with_no_process_substitution(self) -> Self
pub const fn without_no_process_substitution(self) -> Self
pub const fn get_saw_quoted_null(self) -> bool
pub const fn add_saw_quoted_null(&mut self)
pub const fn remove_saw_quoted_null(&mut self)
pub const fn set_saw_quoted_null(&mut self, on: bool)
pub const fn toggle_saw_quoted_null(&mut self)
pub const fn with_saw_quoted_null(self) -> Self
pub const fn without_saw_quoted_null(self) -> Self
pub const fn get_assign_assoc(self) -> bool
pub const fn add_assign_assoc(&mut self)
pub const fn remove_assign_assoc(&mut self)
pub const fn set_assign_assoc(&mut self, on: bool)
pub const fn toggle_assign_assoc(&mut self)
pub const fn with_assign_assoc(self) -> Self
pub const fn without_assign_assoc(self) -> Self
pub const fn get_assign_array(self) -> bool
pub const fn add_assign_array(&mut self)
pub const fn remove_assign_array(&mut self)
pub const fn set_assign_array(&mut self, on: bool)
pub const fn toggle_assign_array(&mut self)
pub const fn with_assign_array(self) -> Self
pub const fn without_assign_array(self) -> Self
pub const fn get_array_index(self) -> bool
pub const fn add_array_index(&mut self)
pub const fn remove_array_index(&mut self)
pub const fn set_array_index(&mut self, on: bool)
pub const fn toggle_array_index(&mut self)
pub const fn with_array_index(self) -> Self
pub const fn without_array_index(self) -> Self
pub const fn get_assign_global(self) -> bool
pub const fn add_assign_global(&mut self)
pub const fn remove_assign_global(&mut self)
pub const fn set_assign_global(&mut self, on: bool)
pub const fn toggle_assign_global(&mut self)
pub const fn with_assign_global(self) -> Self
pub const fn without_assign_global(self) -> Self
pub const fn get_no_brace(self) -> bool
pub const fn add_no_brace(&mut self)
pub const fn remove_no_brace(&mut self)
pub const fn set_no_brace(&mut self, on: bool)
pub const fn toggle_no_brace(&mut self)
pub const fn with_no_brace(self) -> Self
pub const fn without_no_brace(self) -> Self
pub const fn get_completion(self) -> bool
pub const fn add_completion(&mut self)
pub const fn remove_completion(&mut self)
pub const fn set_completion(&mut self, on: bool)
pub const fn toggle_completion(&mut self)
pub const fn with_completion(self) -> Self
pub const fn without_completion(self) -> Self
pub const fn get_check_local(self) -> bool
pub const fn add_check_local(&mut self)
pub const fn remove_check_local(&mut self)
pub const fn set_check_local(&mut self, on: bool)
pub const fn toggle_check_local(&mut self)
pub const fn with_check_local(self) -> Self
pub const fn without_check_local(self) -> Self
pub const fn get_force_local(self) -> bool
pub const fn add_force_local(&mut self)
pub const fn remove_force_local(&mut self)
pub const fn set_force_local(&mut self, on: bool)
pub const fn toggle_force_local(&mut self)
pub const fn with_force_local(self) -> Self
pub const fn without_force_local(self) -> Self
Trait Implementations§
Source§impl Clone for FFIWordFlags
impl Clone for FFIWordFlags
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Hash for FFIWordFlags
impl Hash for FFIWordFlags
Source§impl Iterator for FFIWordFlags
impl Iterator for FFIWordFlags
Source§type Item = (FFIWordFlags, &'static str)
type Item = (FFIWordFlags, &'static str)
Source§fn size_hint(&self) -> (usize, Option<usize>)
fn size_hint(&self) -> (usize, Option<usize>)
Source§fn next(&mut self) -> Option<Self::Item>
fn next(&mut self) -> Option<Self::Item>
Source§fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
Self: Sized,
fn next_chunk<const N: usize>(
&mut self,
) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>where
Self: Sized,
iter_next_chunk)N values. Read more1.0.0 · Source§fn count(self) -> usizewhere
Self: Sized,
fn count(self) -> usizewhere
Self: Sized,
1.0.0 · Source§fn last(self) -> Option<Self::Item>where
Self: Sized,
fn last(self) -> Option<Self::Item>where
Self: Sized,
Source§fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>
fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>
iter_advance_by)n elements. Read more1.0.0 · Source§fn nth(&mut self, n: usize) -> Option<Self::Item>
fn nth(&mut self, n: usize) -> Option<Self::Item>
nth element of the iterator. Read more1.28.0 · Source§fn step_by(self, step: usize) -> StepBy<Self>where
Self: Sized,
fn step_by(self, step: usize) -> StepBy<Self>where
Self: Sized,
1.0.0 · Source§fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
1.0.0 · Source§fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>where
Self: Sized,
U: IntoIterator,
fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>where
Self: Sized,
U: IntoIterator,
Source§fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
fn intersperse(self, separator: Self::Item) -> Intersperse<Self>
iter_intersperse)separator between items
of the original iterator. Read moreSource§fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
iter_intersperse)separator
between items of the original iterator. Read more1.0.0 · Source§fn map<B, F>(self, f: F) -> Map<Self, F>
fn map<B, F>(self, f: F) -> Map<Self, F>
1.0.0 · Source§fn filter<P>(self, predicate: P) -> Filter<Self, P>
fn filter<P>(self, predicate: P) -> Filter<Self, P>
1.0.0 · Source§fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
1.0.0 · Source§fn enumerate(self) -> Enumerate<Self>where
Self: Sized,
fn enumerate(self) -> Enumerate<Self>where
Self: Sized,
1.0.0 · Source§fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
1.0.0 · Source§fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
1.57.0 · Source§fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
1.0.0 · Source§fn skip(self, n: usize) -> Skip<Self>where
Self: Sized,
fn skip(self, n: usize) -> Skip<Self>where
Self: Sized,
n elements. Read more1.0.0 · Source§fn take(self, n: usize) -> Take<Self>where
Self: Sized,
fn take(self, n: usize) -> Take<Self>where
Self: Sized,
n elements, or fewer
if the underlying iterator ends sooner. Read more1.0.0 · Source§fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
1.29.0 · Source§fn flatten(self) -> Flatten<Self>
fn flatten(self) -> Flatten<Self>
Source§fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
iter_map_windows)f for each contiguous window of size N over
self and returns an iterator over the outputs of f. Like slice::windows(),
the windows during mapping overlap as well. Read more1.0.0 · Source§fn inspect<F>(self, f: F) -> Inspect<Self, F>
fn inspect<F>(self, f: F) -> Inspect<Self, F>
1.0.0 · Source§fn by_ref(&mut self) -> &mut Selfwhere
Self: Sized,
fn by_ref(&mut self) -> &mut Selfwhere
Self: Sized,
Iterator. Read moreSource§fn try_collect<B>(
&mut self,
) -> <<Self::Item as Try>::Residual as Residual<B>>::TryType
fn try_collect<B>( &mut self, ) -> <<Self::Item as Try>::Residual as Residual<B>>::TryType
iterator_try_collect)Source§fn collect_into<E>(self, collection: &mut E) -> &mut E
fn collect_into<E>(self, collection: &mut E) -> &mut E
iter_collect_into)1.0.0 · Source§fn partition<B, F>(self, f: F) -> (B, B)
fn partition<B, F>(self, f: F) -> (B, B)
Source§fn is_partitioned<P>(self, predicate: P) -> bool
fn is_partitioned<P>(self, predicate: P) -> bool
iter_is_partitioned)true precede all those that return false. Read more1.27.0 · Source§fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
1.27.0 · Source§fn try_for_each<F, R>(&mut self, f: F) -> R
fn try_for_each<F, R>(&mut self, f: F) -> R
1.0.0 · Source§fn fold<B, F>(self, init: B, f: F) -> B
fn fold<B, F>(self, init: B, f: F) -> B
1.51.0 · Source§fn reduce<F>(self, f: F) -> Option<Self::Item>
fn reduce<F>(self, f: F) -> Option<Self::Item>
Source§fn try_reduce<R>(
&mut self,
f: impl FnMut(Self::Item, Self::Item) -> R,
) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
fn try_reduce<R>( &mut self, f: impl FnMut(Self::Item, Self::Item) -> R, ) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
iterator_try_reduce)1.0.0 · Source§fn all<F>(&mut self, f: F) -> bool
fn all<F>(&mut self, f: F) -> bool
1.0.0 · Source§fn any<F>(&mut self, f: F) -> bool
fn any<F>(&mut self, f: F) -> bool
1.0.0 · Source§fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
1.30.0 · Source§fn find_map<B, F>(&mut self, f: F) -> Option<B>
fn find_map<B, F>(&mut self, f: F) -> Option<B>
Source§fn try_find<R>(
&mut self,
f: impl FnMut(&Self::Item) -> R,
) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
fn try_find<R>( &mut self, f: impl FnMut(&Self::Item) -> R, ) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
try_find)1.0.0 · Source§fn position<P>(&mut self, predicate: P) -> Option<usize>
fn position<P>(&mut self, predicate: P) -> Option<usize>
1.0.0 · Source§fn max(self) -> Option<Self::Item>
fn max(self) -> Option<Self::Item>
1.0.0 · Source§fn min(self) -> Option<Self::Item>
fn min(self) -> Option<Self::Item>
1.6.0 · Source§fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
1.15.0 · Source§fn max_by<F>(self, compare: F) -> Option<Self::Item>
fn max_by<F>(self, compare: F) -> Option<Self::Item>
1.6.0 · Source§fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
1.15.0 · Source§fn min_by<F>(self, compare: F) -> Option<Self::Item>
fn min_by<F>(self, compare: F) -> Option<Self::Item>
1.0.0 · Source§fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
1.36.0 · Source§fn copied<'a, T>(self) -> Copied<Self>
fn copied<'a, T>(self) -> Copied<Self>
Source§fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>where
Self: Sized,
fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>where
Self: Sized,
iter_array_chunks)N elements of the iterator at a time. Read more1.11.0 · Source§fn product<P>(self) -> P
fn product<P>(self) -> P
Source§fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
iter_order_by)Iterator with those
of another with respect to the specified comparison function. Read more1.5.0 · Source§fn partial_cmp<I>(self, other: I) -> Option<Ordering>
fn partial_cmp<I>(self, other: I) -> Option<Ordering>
PartialOrd elements of
this Iterator with those of another. The comparison works like short-circuit
evaluation, returning a result without comparing the remaining elements.
As soon as an order can be determined, the evaluation stops and a result is returned. Read moreSource§fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>where
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>where
Self: Sized,
I: IntoIterator,
F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,
iter_order_by)Iterator with those
of another with respect to the specified comparison function. Read moreSource§fn eq_by<I, F>(self, other: I, eq: F) -> bool
fn eq_by<I, F>(self, other: I, eq: F) -> bool
iter_order_by)1.5.0 · Source§fn lt<I>(self, other: I) -> bool
fn lt<I>(self, other: I) -> bool
Iterator are lexicographically
less than those of another. Read more1.5.0 · Source§fn le<I>(self, other: I) -> bool
fn le<I>(self, other: I) -> bool
Iterator are lexicographically
less or equal to those of another. Read more1.5.0 · Source§fn gt<I>(self, other: I) -> bool
fn gt<I>(self, other: I) -> bool
Iterator are lexicographically
greater than those of another. Read more1.5.0 · Source§fn ge<I>(self, other: I) -> bool
fn ge<I>(self, other: I) -> bool
Iterator are lexicographically
greater than or equal to those of another. Read more