pub struct Downgrade {
pub lost: Feature,
pub note: &'static str,
}Expand description
A change lowering made to make a value expressible.
Describes what happened; the value itself is changed in place, so there is nothing to hand back.
Fields§
§lost: FeatureThe feature that was given up.
note: &'static strA human-readable description, for the TranslationReport.
Trait Implementations§
impl Copy for Downgrade
impl Eq for Downgrade
impl StructuralPartialEq for Downgrade
Auto Trait Implementations§
impl Freeze for Downgrade
impl RefUnwindSafe for Downgrade
impl Send for Downgrade
impl Sync for Downgrade
impl Unpin for Downgrade
impl UnsafeUnpin for Downgrade
impl UnwindSafe for Downgrade
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