pub struct ColorTransformProxy { /* private fields */ }
Implementations§
source§impl ColorTransformProxy
impl ColorTransformProxy
sourcepub fn take_event_stream(&self) -> ColorTransformEventStream
pub fn take_event_stream(&self) -> ColorTransformEventStream
Get a Stream of events from the remote end of the ColorTransform protocol
Panics
Panics if the event stream was already taken.
sourcepub fn register_color_transform_handler(
&self,
handler: ClientEnd<ColorTransformHandlerMarker>
) -> Result<(), Error>
pub fn register_color_transform_handler( &self, handler: ClientEnd<ColorTransformHandlerMarker> ) -> Result<(), Error>
Registers a handler for changes in the color transform configuration.
Trait Implementations§
source§impl Clone for ColorTransformProxy
impl Clone for ColorTransformProxy
source§fn clone(&self) -> ColorTransformProxy
fn clone(&self) -> ColorTransformProxy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl ColorTransformProxyInterface for ColorTransformProxy
impl ColorTransformProxyInterface for ColorTransformProxy
fn register_color_transform_handler( &self, handler: ClientEnd<ColorTransformHandlerMarker> ) -> Result<(), Error>
source§impl Debug for ColorTransformProxy
impl Debug for ColorTransformProxy
source§impl Proxy for ColorTransformProxy
impl Proxy for ColorTransformProxy
§type Protocol = ColorTransformMarker
type Protocol = ColorTransformMarker
The protocol which this
Proxy
controls.source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Create a proxy over the given channel.
source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Attempt to convert the proxy back into a channel. Read more
source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
Get a reference to the proxy’s underlying channel. Read more