Enum FieldOfViewType
#[repr(i32)]pub enum FieldOfViewType {
XFov = 0,
YFov = 1,
}Variants§
XFov = 0
Field of view is specified in the x axis direction.
YFov = 1
Field of view is specified in the y axis direction.
Implementations§
§impl FieldOfViewType
impl FieldOfViewType
pub const fn as_str(self) -> &'static str
pub fn convert(num: i32) -> FieldOfViewType
Trait Implementations§
§impl Clone for FieldOfViewType
impl Clone for FieldOfViewType
§fn clone(&self) -> FieldOfViewType
fn clone(&self) -> FieldOfViewType
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 more§impl Debug for FieldOfViewType
impl Debug for FieldOfViewType
§impl Display for FieldOfViewType
impl Display for FieldOfViewType
§impl PartialEq for FieldOfViewType
impl PartialEq for FieldOfViewType
§impl VariantConstraint for FieldOfViewType
impl VariantConstraint for FieldOfViewType
§type DataArg<'a> = FieldOfViewType
type DataArg<'a> = FieldOfViewType
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§type RetArg = FieldOfViewType
type RetArg = FieldOfViewType
§fn as_arg(&self) -> <FieldOfViewType as VariantConstraint>::DataArg<'_>
fn as_arg(&self) -> <FieldOfViewType as VariantConstraint>::DataArg<'_>
impl Copy for FieldOfViewType
impl Eq for FieldOfViewType
impl PropertyTypeConstraint for FieldOfViewType
impl StructuralPartialEq for FieldOfViewType
Auto Trait Implementations§
impl Freeze for FieldOfViewType
impl RefUnwindSafe for FieldOfViewType
impl Send for FieldOfViewType
impl Sync for FieldOfViewType
impl Unpin for FieldOfViewType
impl UnwindSafe for FieldOfViewType
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