pub struct InputMethodRef { /* private fields */ }Expand description
Node representing a spatial input device
Implementations§
Source§impl InputMethodRef
impl InputMethodRef
pub fn as_spatial_ref(self) -> SpatialRef
Trait Implementations§
Source§impl Clone for InputMethodRef
impl Clone for InputMethodRef
Source§fn clone(&self) -> InputMethodRef
fn clone(&self) -> InputMethodRef
Returns a duplicate 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 Debug for InputMethodRef
impl Debug for InputMethodRef
Source§impl Hash for InputMethodRef
impl Hash for InputMethodRef
Source§impl InputMethodRefAspect for InputMethodRef
impl InputMethodRefAspect for InputMethodRef
Source§fn try_capture(&self, handler: &impl InputHandlerAspect) -> NodeResult<()>
fn try_capture(&self, handler: &impl InputHandlerAspect) -> NodeResult<()>
Try to capture the input method with the given handler. When the handler does not get input from the method, it will be released.
Source§fn release(&self, handler: &impl InputHandlerAspect) -> NodeResult<()>
fn release(&self, handler: &impl InputHandlerAspect) -> NodeResult<()>
If captured by this handler, release it (e.g. the object is let go of after grabbing).
Source§impl NodeType for InputMethodRef
impl NodeType for InputMethodRef
Source§impl PartialEq for InputMethodRef
impl PartialEq for InputMethodRef
Source§impl Serialize for InputMethodRef
impl Serialize for InputMethodRef
Source§impl SpatialRefAspect for InputMethodRef
impl SpatialRefAspect for InputMethodRef
Source§async fn get_local_bounding_box(&self) -> NodeResult<BoundingBox>
async fn get_local_bounding_box(&self) -> NodeResult<BoundingBox>
Get the bounding box of this spatial and its children relative to another spatial
Source§async fn get_relative_bounding_box(
&self,
relative_to: &impl SpatialRefAspect,
) -> NodeResult<BoundingBox>
async fn get_relative_bounding_box( &self, relative_to: &impl SpatialRefAspect, ) -> NodeResult<BoundingBox>
Get the bounding box of this spatial and its children relative to itself
Source§async fn get_transform(
&self,
relative_to: &impl SpatialRefAspect,
) -> NodeResult<Transform>
async fn get_transform( &self, relative_to: &impl SpatialRefAspect, ) -> NodeResult<Transform>
Get the transform relative to some other spatial node.
impl Eq for InputMethodRef
Auto Trait Implementations§
impl Freeze for InputMethodRef
impl !RefUnwindSafe for InputMethodRef
impl Send for InputMethodRef
impl Sync for InputMethodRef
impl Unpin for InputMethodRef
impl !UnwindSafe for InputMethodRef
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