pub struct ProvidedDefaultUnstable {
pub feature: String,
}Expand description
Information about an unstable default provided by a trait item.
Example unstable defaults include:
- a stable trait function or method whose body is not stable
- a stable trait associated type or const whose default value is not stable
Fields§
§feature: StringThe feature that must be enabled to use the provided default.
Trait Implementations§
Source§impl Clone for ProvidedDefaultUnstable
impl Clone for ProvidedDefaultUnstable
Source§fn clone(&self) -> ProvidedDefaultUnstable
fn clone(&self) -> ProvidedDefaultUnstable
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 moreSource§impl Debug for ProvidedDefaultUnstable
impl Debug for ProvidedDefaultUnstable
Source§impl<'de> Deserialize<'de> for ProvidedDefaultUnstable
impl<'de> Deserialize<'de> for ProvidedDefaultUnstable
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
impl Eq for ProvidedDefaultUnstable
Source§impl Hash for ProvidedDefaultUnstable
impl Hash for ProvidedDefaultUnstable
Source§impl PartialEq for ProvidedDefaultUnstable
impl PartialEq for ProvidedDefaultUnstable
Source§fn eq(&self, other: &ProvidedDefaultUnstable) -> bool
fn eq(&self, other: &ProvidedDefaultUnstable) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProvidedDefaultUnstable
impl Serialize for ProvidedDefaultUnstable
impl StructuralPartialEq for ProvidedDefaultUnstable
Auto Trait Implementations§
impl Freeze for ProvidedDefaultUnstable
impl RefUnwindSafe for ProvidedDefaultUnstable
impl Send for ProvidedDefaultUnstable
impl Sync for ProvidedDefaultUnstable
impl Unpin for ProvidedDefaultUnstable
impl UnsafeUnpin for ProvidedDefaultUnstable
impl UnwindSafe for ProvidedDefaultUnstable
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