pub struct FeatureVersion {
pub starting_version: u8,
pub producer: FeatureImplProducer,
}Expand description
Represents a known feature implementation starting from a specific feature version.
Fields§
§starting_version: u8The minimum feature version the implementation supports.
producer: FeatureImplProducerA pointer to a function producing the feature implementation.
Trait Implementations§
Source§impl Clone for FeatureVersion
impl Clone for FeatureVersion
Source§fn clone(&self) -> FeatureVersion
fn clone(&self) -> FeatureVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FeatureVersion
Source§impl Debug for FeatureVersion
impl Debug for FeatureVersion
Auto Trait Implementations§
impl Freeze for FeatureVersion
impl RefUnwindSafe for FeatureVersion
impl Send for FeatureVersion
impl Sync for FeatureVersion
impl Unpin for FeatureVersion
impl UnsafeUnpin for FeatureVersion
impl UnwindSafe for FeatureVersion
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