pub struct FeaturesTable { /* private fields */ }
Expand description
A table similar to
[features]
,
with custom values.
Implementations§
Source§impl FeaturesTable
impl FeaturesTable
Sourcepub fn feature_names(&self) -> impl Iterator<Item = &FeatureName>
pub fn feature_names(&self) -> impl Iterator<Item = &FeatureName>
Returns an iterator over the features names, i.e., the table’s keys.
Sourcepub fn iter(&self) -> impl Iterator<Item = (&FeatureName, &FeatureRelations)>
pub fn iter(&self) -> impl Iterator<Item = (&FeatureName, &FeatureRelations)>
Returns an iterator over the table entries.
Trait Implementations§
Source§impl Clone for FeaturesTable
impl Clone for FeaturesTable
Source§fn clone(&self) -> FeaturesTable
fn clone(&self) -> FeaturesTable
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FeaturesTable
impl Debug for FeaturesTable
Source§impl Default for FeaturesTable
impl Default for FeaturesTable
Source§fn default() -> FeaturesTable
fn default() -> FeaturesTable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FeaturesTable
impl<'de> Deserialize<'de> for FeaturesTable
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FeaturesTable
impl RefUnwindSafe for FeaturesTable
impl Send for FeaturesTable
impl Sync for FeaturesTable
impl Unpin for FeaturesTable
impl UnwindSafe for FeaturesTable
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