pub enum ColorAdjustmentHandlerRequest {
SetColorAdjustment {
color_adjustment: ColorAdjustmentTable,
control_handle: ColorAdjustmentHandlerControlHandle,
},
}
Expand description
Handler implemented by the owner of the presentation. The UI component that controls brightness and screen tint uses this protocol to request changes to the screen’s color adjustment matrix.
Variants§
SetColorAdjustment
Called when the color adjustment has changed.
Implementations§
Source§impl ColorAdjustmentHandlerRequest
impl ColorAdjustmentHandlerRequest
pub fn into_set_color_adjustment( self, ) -> Option<(ColorAdjustmentTable, ColorAdjustmentHandlerControlHandle)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ColorAdjustmentHandlerRequest
impl !RefUnwindSafe for ColorAdjustmentHandlerRequest
impl Send for ColorAdjustmentHandlerRequest
impl Sync for ColorAdjustmentHandlerRequest
impl Unpin for ColorAdjustmentHandlerRequest
impl !UnwindSafe for ColorAdjustmentHandlerRequest
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