#[non_exhaustive]pub enum ObjectId {
Crtc(CrtcId),
Connector(ConnectorId),
Encoder(EncoderId),
Mode(u32),
Property(PropertyId),
Framebuffer(FramebufferId),
Blob(BlobId),
Plane(PlaneId),
}
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.
Crtc(CrtcId)
Connector(ConnectorId)
Encoder(EncoderId)
Mode(u32)
Property(PropertyId)
Framebuffer(FramebufferId)
Blob(BlobId)
Plane(PlaneId)
Implementations§
Trait Implementations§
Source§impl From<ConnectorId> for ObjectId
impl From<ConnectorId> for ObjectId
Source§fn from(value: ConnectorId) -> Self
fn from(value: ConnectorId) -> Self
Converts to this type from the input type.
Source§impl From<FramebufferId> for ObjectId
impl From<FramebufferId> for ObjectId
Source§fn from(value: FramebufferId) -> Self
fn from(value: FramebufferId) -> Self
Converts to this type from the input type.
Source§impl From<PropertyId> for ObjectId
impl From<PropertyId> for ObjectId
Source§fn from(value: PropertyId) -> Self
fn from(value: PropertyId) -> Self
Converts to this type from the input type.
impl Copy for ObjectId
Auto Trait Implementations§
impl Freeze for ObjectId
impl RefUnwindSafe for ObjectId
impl Send for ObjectId
impl Sync for ObjectId
impl Unpin for ObjectId
impl UnwindSafe for ObjectId
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