Struct noodles_vcf::record::format::Format [−][src]
pub struct Format(_);
Expand description
A VCF record genotype format (FORMAT
).
Methods from Deref<Target = IndexSet<Key>>
Returns true if the set contains no elements.
Computes in O(1) time.
pub fn difference<S2>(
&'a self,
other: &'a IndexSet<T, S2>
) -> Difference<'a, T, S2> where
S2: BuildHasher,
pub fn difference<S2>(
&'a self,
other: &'a IndexSet<T, S2>
) -> Difference<'a, T, S2> where
S2: BuildHasher,
Return an iterator over the values that are in self
but not other
.
Values are produced in the same order that they appear in self
.
pub fn symmetric_difference<S2>(
&'a self,
other: &'a IndexSet<T, S2>
) -> SymmetricDifference<'a, T, S, S2> where
S2: BuildHasher,
pub fn symmetric_difference<S2>(
&'a self,
other: &'a IndexSet<T, S2>
) -> SymmetricDifference<'a, T, S, S2> where
S2: BuildHasher,
Return an iterator over the values that are in self
or other
,
but not in both.
Values from self
are produced in their original order, followed by
values from other
in their original order.
pub fn intersection<S2>(
&'a self,
other: &'a IndexSet<T, S2>
) -> Intersection<'a, T, S2> where
S2: BuildHasher,
pub fn intersection<S2>(
&'a self,
other: &'a IndexSet<T, S2>
) -> Intersection<'a, T, S2> where
S2: BuildHasher,
Return an iterator over the values that are in both self
and other
.
Values are produced in the same order that they appear in self
.
pub fn union<S2>(&'a self, other: &'a IndexSet<T, S2>) -> Union<'a, T, S> where
S2: BuildHasher,
pub fn union<S2>(&'a self, other: &'a IndexSet<T, S2>) -> Union<'a, T, S> where
S2: BuildHasher,
Return an iterator over all values that are in self
or other
.
Values from self
are produced in their original order, followed by
values that are unique to other
in their original order.
Return true
if an equivalent to value
exists in the set.
Computes in O(1) time (average).
Return a reference to the value stored in the set, if it is present,
else None
.
Computes in O(1) time (average).
Return item index and value
pub fn get_index_of<Q>(&self, value: &Q) -> Option<usize> where
Q: Hash + Equivalent<T> + ?Sized,
pub fn get_index_of<Q>(&self, value: &Q) -> Option<usize> where
Q: Hash + Equivalent<T> + ?Sized,
Return item index, if it exists in the set
Get a value by index
Valid indices are 0 <= index < self.len()
Computes in O(1) time.
Returns true
if self
has no elements in common with other
.
Returns true
if all elements of self
are contained in other
.
Returns true
if all elements of other
are contained in self
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Format
impl UnwindSafe for Format
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.