Enum rustc_passes::stability::InheritConstStability [−][src]
Whether to inherit const stability flags for nested items. In most cases, we do not want to
inherit const stability: just because an enclosing fn is const-stable does not mean
all extern imports declared in it should be const-stable! However, trait methods
inherit const stability attributes from their parent and do not have their own.
Variants
Implementations
impl InheritConstStability[src]
Auto Trait Implementations
impl RefUnwindSafe for InheritConstStability
impl Send for InheritConstStability
impl Sync for InheritConstStability
impl Unpin for InheritConstStability
impl UnwindSafe for InheritConstStability
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,