pub enum CameraOutputMode {
Scroll,
Keys,
}Expand description
Camera mode output type
Controls how analog stick input is converted in Camera mode. Used in LayerConfig to specify camera output behavior per layer.
Variants§
Implementations§
Source§impl CameraOutputMode
impl CameraOutputMode
Sourcepub const ALL: [CameraOutputMode; 2]
pub const ALL: [CameraOutputMode; 2]
All camera output modes for pick_list widget
Trait Implementations§
Source§impl Clone for CameraOutputMode
impl Clone for CameraOutputMode
Source§fn clone(&self) -> CameraOutputMode
fn clone(&self) -> CameraOutputMode
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 CameraOutputMode
impl Debug for CameraOutputMode
Source§impl Default for CameraOutputMode
impl Default for CameraOutputMode
Source§impl<'de> Deserialize<'de> for CameraOutputMode
impl<'de> Deserialize<'de> for CameraOutputMode
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 Display for CameraOutputMode
impl Display for CameraOutputMode
Source§impl PartialEq for CameraOutputMode
impl PartialEq for CameraOutputMode
Source§impl Serialize for CameraOutputMode
impl Serialize for CameraOutputMode
impl Copy for CameraOutputMode
impl Eq for CameraOutputMode
impl StructuralPartialEq for CameraOutputMode
Auto Trait Implementations§
impl Freeze for CameraOutputMode
impl RefUnwindSafe for CameraOutputMode
impl Send for CameraOutputMode
impl Sync for CameraOutputMode
impl Unpin for CameraOutputMode
impl UnsafeUnpin for CameraOutputMode
impl UnwindSafe for CameraOutputMode
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