pub enum ColorAdjustmentRequest {
SetDiscreteColorAdjustment {
color_adjustment: ColorAdjustmentTable,
responder: ColorAdjustmentSetDiscreteColorAdjustmentResponder,
},
_UnknownMethod {
ordinal: u64,
control_handle: ColorAdjustmentControlHandle,
method_type: MethodType,
},
}
Expand description
Allows clients to request changes to the screen’s color adjustment matrix. This protocol should be implemented and served by the owner of screen presentation.
Variants§
SetDiscreteColorAdjustment
Called to change the color adjustment to a discrete value. The server will send a response once the request has been serviced. A client can then use this response to determine when to make additional calls when limiting the amount of requests being sent.
Fields
§
color_adjustment: ColorAdjustmentTable
_UnknownMethod
An interaction was received which does not match any known method.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
control_handle: ColorAdjustmentControlHandle
§
method_type: MethodType
Implementations§
Source§impl ColorAdjustmentRequest
impl ColorAdjustmentRequest
pub fn into_set_discrete_color_adjustment( self, ) -> Option<(ColorAdjustmentTable, ColorAdjustmentSetDiscreteColorAdjustmentResponder)>
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 ColorAdjustmentRequest
impl !RefUnwindSafe for ColorAdjustmentRequest
impl Send for ColorAdjustmentRequest
impl Sync for ColorAdjustmentRequest
impl Unpin for ColorAdjustmentRequest
impl !UnwindSafe for ColorAdjustmentRequest
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