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
impl 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