#[non_exhaustive]pub struct ModelFeatureSet<T: 'static> {
pub values: &'static [T],
pub api_surfaces: &'static [ModelApiSurface],
}Expand description
Values supported by a feature and the request surfaces that accept them.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.values: &'static [T]§api_surfaces: &'static [ModelApiSurface]Trait Implementations§
Source§impl<T: Clone + 'static> Clone for ModelFeatureSet<T>
impl<T: Clone + 'static> Clone for ModelFeatureSet<T>
Source§fn clone(&self) -> ModelFeatureSet<T>
fn clone(&self) -> ModelFeatureSet<T>
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<T: Copy + 'static> Copy for ModelFeatureSet<T>
Source§impl<T: Debug + 'static> Debug for ModelFeatureSet<T>
impl<T: Debug + 'static> Debug for ModelFeatureSet<T>
impl<T: Eq + 'static> Eq for ModelFeatureSet<T>
Source§impl<T: PartialEq + 'static> PartialEq for ModelFeatureSet<T>
impl<T: PartialEq + 'static> PartialEq for ModelFeatureSet<T>
impl<T: PartialEq + 'static> StructuralPartialEq for ModelFeatureSet<T>
Auto Trait Implementations§
impl<T> Freeze for ModelFeatureSet<T>
impl<T> RefUnwindSafe for ModelFeatureSet<T>where
T: RefUnwindSafe,
impl<T> Send for ModelFeatureSet<T>where
T: Sync,
impl<T> Sync for ModelFeatureSet<T>where
T: Sync,
impl<T> Unpin for ModelFeatureSet<T>
impl<T> UnsafeUnpin for ModelFeatureSet<T>
impl<T> UnwindSafe for ModelFeatureSet<T>where
T: RefUnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.