#[non_exhaustive]pub enum FrameTimeCtrl {
Mode,
FrameTime,
Auto,
Custom(CustomName),
}
Expand description
Describes frame rate control options.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Mode
Select frame time mode (PropertyType::EnumStr
)
FrameTime
Select frame time (PropertyType::Duration
)
Auto
Select frame time auto mode (PropertyType::EnumStr
or PropertyType::Bool
)
Custom(CustomName)
A custom command
Trait Implementations§
Source§impl Clone for FrameTimeCtrl
impl Clone for FrameTimeCtrl
Source§fn clone(&self) -> FrameTimeCtrl
fn clone(&self) -> FrameTimeCtrl
Returns a duplicate of the value. Read more
1.0.0 · 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 FrameTimeCtrl
impl Debug for FrameTimeCtrl
Source§impl<'de> Deserialize<'de> for FrameTimeCtrl
impl<'de> Deserialize<'de> for FrameTimeCtrl
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
Source§impl Documented for FrameTimeCtrl
impl Documented for FrameTimeCtrl
Source§impl DocumentedVariants for FrameTimeCtrl
impl DocumentedVariants for FrameTimeCtrl
Source§impl From<FrameTimeCtrl> for GenCamCtrl
impl From<FrameTimeCtrl> for GenCamCtrl
Source§fn from(ctrl: FrameTimeCtrl) -> Self
fn from(ctrl: FrameTimeCtrl) -> Self
Converts to this type from the input type.
Source§impl Hash for FrameTimeCtrl
impl Hash for FrameTimeCtrl
Source§impl PartialEq for FrameTimeCtrl
impl PartialEq for FrameTimeCtrl
Source§impl Serialize for FrameTimeCtrl
impl Serialize for FrameTimeCtrl
Source§impl ToolTip for FrameTimeCtrl
impl ToolTip for FrameTimeCtrl
impl Copy for FrameTimeCtrl
impl Eq for FrameTimeCtrl
impl StructuralPartialEq for FrameTimeCtrl
Auto Trait Implementations§
impl Freeze for FrameTimeCtrl
impl RefUnwindSafe for FrameTimeCtrl
impl Send for FrameTimeCtrl
impl Sync for FrameTimeCtrl
impl Unpin for FrameTimeCtrl
impl UnwindSafe for FrameTimeCtrl
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