#[repr(transparent)]pub struct DegradationPreference {
pub repr: i32,
}Fields§
§repr: i32Implementations§
Source§impl DegradationPreference
impl DegradationPreference
pub const Disabled: Self
pub const MaintainFramerate: Self
pub const MaintainResolution: Self
pub const Balanced: Self
Trait Implementations§
Source§impl Clone for DegradationPreference
impl Clone for DegradationPreference
Source§impl Debug for DegradationPreference
impl Debug for DegradationPreference
Source§impl ExternType for DegradationPreference
impl ExternType for DegradationPreference
Source§impl PartialEq for DegradationPreference
impl PartialEq for DegradationPreference
impl Copy for DegradationPreference
impl Eq for DegradationPreference
impl StructuralPartialEq for DegradationPreference
Auto Trait Implementations§
impl Freeze for DegradationPreference
impl RefUnwindSafe for DegradationPreference
impl Send for DegradationPreference
impl Sync for DegradationPreference
impl Unpin for DegradationPreference
impl UnwindSafe for DegradationPreference
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