Struct drm::control::atomic::AtomicModeReq [−][src]
pub struct AtomicModeReq { /* fields omitted */ }
Expand description
Helper struct to construct atomic commit requests
Implementations
Create a new and empty atomic commit request
pub fn add_raw_property(
&mut self,
obj_id: RawResourceHandle,
prop_id: Handle,
value: RawValue
)
pub fn add_raw_property(
&mut self,
obj_id: RawResourceHandle,
prop_id: Handle,
value: RawValue
)
Add a property and value pair for a given raw resource to the request
pub fn add_property<H>(&mut self, handle: H, property: Handle, value: Value<'_>) where
H: ResourceHandle,
pub fn add_property<H>(&mut self, handle: H, property: Handle, value: Value<'_>) where
H: ResourceHandle,
Add a property and value pair for a given handle to the request
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AtomicModeReq
impl Send for AtomicModeReq
impl Sync for AtomicModeReq
impl Unpin for AtomicModeReq
impl UnwindSafe for AtomicModeReq
Blanket Implementations
Mutably borrows from an owned value. Read more