pub enum FieldType {
Float,
U32,
U64,
Paint,
Role(&'static str),
Bool,
FiniteFloat,
}Variants§
Float
U32
U64
Paint
A Paint, either a ColorRole or a literal ARGB Color.
Role(&'static str)
A role enum, named so codegen can emit the matching Kotlin type.
Bool
A word that is 0 or 1. Any other value is a protocol error, not a third state.
FiniteFloat
An f32 that has to be a number. NaN or an infinity is a protocol error, for a
value that would otherwise turn a whole subtree into nothing on one side only.
Trait Implementations§
impl Copy for FieldType
impl Eq for FieldType
impl StructuralPartialEq for FieldType
Auto Trait Implementations§
impl Freeze for FieldType
impl RefUnwindSafe for FieldType
impl Send for FieldType
impl Sync for FieldType
impl Unpin for FieldType
impl UnsafeUnpin for FieldType
impl UnwindSafe for FieldType
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