Trait wayland_protocols::wlr::unstable::gamma_control::v1::client::zwlr_gamma_control_manager_v1::RequestsTrait
source · pub trait RequestsTrait {
fn get_gamma_control<F>(
&self,
output: &Proxy<WlOutput>,
implementor: F
) -> Result<Proxy<ZwlrGammaControlV1>, ()>
where
F: FnOnce(NewProxy<ZwlrGammaControlV1>) -> Proxy<ZwlrGammaControlV1>;
fn destroy(&self);
}
Required Methods§
sourcefn get_gamma_control<F>(
&self,
output: &Proxy<WlOutput>,
implementor: F
) -> Result<Proxy<ZwlrGammaControlV1>, ()>where
F: FnOnce(NewProxy<ZwlrGammaControlV1>) -> Proxy<ZwlrGammaControlV1>,
fn get_gamma_control<F>(
&self,
output: &Proxy<WlOutput>,
implementor: F
) -> Result<Proxy<ZwlrGammaControlV1>, ()>where
F: FnOnce(NewProxy<ZwlrGammaControlV1>) -> Proxy<ZwlrGammaControlV1>,
get a gamma control for an output
Create a gamma control that can be used to adjust gamma tables for the provided output.