Enum hapi_rs::raw::PrmScriptType
source · #[non_exhaustive]#[repr(i32)]pub enum PrmScriptType {
Show 46 variants
TypeInt = 0,
TypeFloat = 1,
TypeAngle = 2,
TypeString = 3,
TypeFile = 4,
TypeDirectory = 5,
TypeImage = 6,
TypeGeometry = 7,
TypeToggle = 8,
TypeButton = 9,
TypeVector2 = 10,
TypeVector3 = 11,
TypeVector4 = 12,
TypeIntvector2 = 13,
TypeIntvector3 = 14,
TypeIntvector4 = 15,
TypeUv = 16,
TypeUvw = 17,
TypeDir = 18,
TypeColor = 19,
TypeColor4 = 20,
TypeOppath = 21,
TypeOplist = 22,
TypeObject = 23,
TypeObjectlist = 24,
TypeRender = 25,
TypeSeparator = 26,
GeometryData = 27,
ValueDict = 28,
TypeLabel = 29,
TypeRgbamask = 30,
TypeOrdinal = 31,
RampFlt = 32,
RampRgb = 33,
FloatLog = 34,
IntLog = 35,
TypeData = 36,
FloatMinmax = 37,
IntMinmax = 38,
IntStartend = 39,
TypeButtonstrip = 40,
TypeIconstrip = 41,
TypeGroupradio = 1_000,
TypeGroupcollapsible = 1_001,
TypeGroupsimple = 1_002,
TypeGroup = 1_003,
}
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.
TypeInt = 0
TypeFloat = 1
TypeAngle = 2
TypeString = 3
TypeFile = 4
TypeDirectory = 5
TypeImage = 6
TypeGeometry = 7
TypeToggle = 8
TypeButton = 9
TypeVector2 = 10
TypeVector3 = 11
TypeVector4 = 12
TypeIntvector2 = 13
TypeIntvector3 = 14
TypeIntvector4 = 15
TypeUv = 16
TypeUvw = 17
TypeDir = 18
TypeColor = 19
TypeColor4 = 20
TypeOppath = 21
TypeOplist = 22
TypeObject = 23
TypeObjectlist = 24
TypeRender = 25
TypeSeparator = 26
GeometryData = 27
ValueDict = 28
TypeLabel = 29
TypeRgbamask = 30
TypeOrdinal = 31
RampFlt = 32
RampRgb = 33
FloatLog = 34
IntLog = 35
TypeData = 36
FloatMinmax = 37
IntMinmax = 38
IntStartend = 39
TypeButtonstrip = 40
TypeIconstrip = 41
TypeGroupradio = 1_000
TypeGroupcollapsible = 1_001
TypeGroupsimple = 1_002
TypeGroup = 1_003
Trait Implementations§
source§impl Clone for PrmScriptType
impl Clone for PrmScriptType
source§fn clone(&self) -> PrmScriptType
fn clone(&self) -> PrmScriptType
Returns a copy 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 PrmScriptType
impl Debug for PrmScriptType
source§impl Hash for PrmScriptType
impl Hash for PrmScriptType
source§impl PartialEq for PrmScriptType
impl PartialEq for PrmScriptType
source§fn eq(&self, other: &PrmScriptType) -> bool
fn eq(&self, other: &PrmScriptType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PrmScriptType
impl Eq for PrmScriptType
impl StructuralEq for PrmScriptType
impl StructuralPartialEq for PrmScriptType
Auto Trait Implementations§
impl RefUnwindSafe for PrmScriptType
impl Send for PrmScriptType
impl Sync for PrmScriptType
impl Unpin for PrmScriptType
impl UnwindSafe for PrmScriptType
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