pub enum ValueType {
Show 14 variants
Unknown,
Boolean,
UnsignedRange(u64, u64),
SignedRange(i64, i64),
Enum(EnumValues),
Bitmask,
Blob,
Object,
CRTC,
Connector,
Encoder,
Framebuffer,
Plane,
Property,
}
Expand description
Describes the types of value that a property uses.
Variants§
Unknown
A catch-all for any unknown types
Boolean
A True or False type
UnsignedRange(u64, u64)
An unsigned integer that has a min and max value
SignedRange(i64, i64)
A signed integer that has a min and max value
Enum(EnumValues)
A set of values that are mutually exclusive
Bitmask
A set of values that can be combined
Blob
A chunk of binary data that must be acquired
Object
A non-specific DRM object
CRTC
A CRTC object
Connector
A Connector object
Encoder
An Encoder object
Framebuffer
A Framebuffer object
Plane
A Plane object
Property
A Property object
Implementations§
Trait Implementations§
impl Eq for ValueType
impl StructuralPartialEq for ValueType
Auto Trait Implementations§
impl Freeze for ValueType
impl RefUnwindSafe for ValueType
impl Send for ValueType
impl Sync for ValueType
impl Unpin for ValueType
impl UnwindSafe for ValueType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)