#[repr(i32)]pub enum Changes {
EChangesNone = 0,
ESurfaceChanged = 1,
ELayerStackChanged = 2,
EDisplayProjectionChanged = 4,
EDisplaySizeChanged = 8,
EFlagsChanged = 16,
}
Variants§
EChangesNone = 0
ESurfaceChanged = 1
ELayerStackChanged = 2
EDisplayProjectionChanged = 4
EDisplaySizeChanged = 8
EFlagsChanged = 16
Implementations§
Source§impl Changes
impl Changes
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Ord for Changes
impl Ord for Changes
Source§impl PartialOrd for Changes
impl PartialOrd for Changes
impl Copy for Changes
impl Eq for Changes
impl StructuralPartialEq for Changes
Auto Trait Implementations§
impl Freeze for Changes
impl RefUnwindSafe for Changes
impl Send for Changes
impl Sync for Changes
impl Unpin for Changes
impl UnwindSafe for Changes
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