pub struct Config<'de> { /* private fields */ }Expand description
The wire type corresponding to Config.
Implementations§
Source§impl<'de> Config<'de>
impl<'de> Config<'de>
pub fn device_id(&self) -> Option<&Uint32>
pub fn device_type(&self) -> Option<&DeviceType>
pub fn context(&self) -> Option<&Context>
pub fn target(&self) -> Option<&Target>
pub fn viewport(&self) -> Option<&Viewport<'de>>
pub fn dispatch_policy(&self) -> Option<&DispatchPolicy>
pub fn scroll_v_range(&self) -> Option<&Axis>
pub fn scroll_h_range(&self) -> Option<&Axis>
pub fn relative_motion_range(&self) -> Option<&[Axis; 2]>
Trait Implementations§
Source§impl<'de, ___D> Decode<___D> for Config<'de>where
___D: Decoder<'de> + ?Sized + HandleDecoder,
impl<'de, ___D> Decode<___D> for Config<'de>where
___D: Decoder<'de> + ?Sized + HandleDecoder,
Source§impl<___E> Encode<Config<'static>, ___E> for Configwhere
___E: Encoder + ?Sized + HandleEncoder,
impl<___E> Encode<Config<'static>, ___E> for Configwhere
___E: Encoder + ?Sized + HandleEncoder,
Auto Trait Implementations§
impl<'de> Freeze for Config<'de>
impl<'de> RefUnwindSafe for Config<'de>
impl<'de> Send for Config<'de>
impl<'de> Sync for Config<'de>
impl<'de> Unpin for Config<'de>
impl<'de> UnsafeUnpin for Config<'de>
impl<'de> !UnwindSafe for Config<'de>
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
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]