pub enum PropertyType {
Show 23 variants
String,
Int {
min: i32,
max: i32,
default: i32,
},
UInt {
min: u32,
max: u32,
default: u32,
},
Int64 {
min: i64,
max: i64,
default: i64,
},
UInt64 {
min: u64,
max: u64,
default: u64,
},
Long {
min: c_long,
max: c_long,
default: c_long,
},
ULong {
min: c_ulong,
max: c_ulong,
default: c_ulong,
},
Char {
min: i8,
max: i8,
default: i8,
},
UChar {
min: u8,
max: u8,
default: u8,
},
Unichar {
default: u32,
},
Param {
param_type: GType,
},
Boolean {
default: bool,
},
Float {
min: f32,
max: f32,
default: f32,
},
Double {
min: f64,
max: f64,
default: f64,
},
Enum {
enum_type: GType,
default: i32,
},
Flags {
flags_type: GType,
default: u32,
},
Object {
object_type: GType,
},
Boxed {
boxed_type: GType,
},
Pointer,
GType {
is_a_type: GType,
},
Variant {
variant_type: Option<String>,
default_value: Option<Expression>,
},
Override,
Unknown {
spec_function: String,
},
}Variants§
String
Int
UInt
Int64
UInt64
Long
ULong
Char
UChar
Unichar
Param
Boolean
Float
Double
Enum
Flags
Object
Boxed
Pointer
GType
Variant
Override
Unknown
Trait Implementations§
Source§impl Clone for PropertyType
impl Clone for PropertyType
Source§impl Debug for PropertyType
impl Debug for PropertyType
Auto Trait Implementations§
impl Freeze for PropertyType
impl RefUnwindSafe for PropertyType
impl Send for PropertyType
impl Sync for PropertyType
impl Unpin for PropertyType
impl UnsafeUnpin for PropertyType
impl UnwindSafe for PropertyType
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