pub struct GlideKeyboard {
pub centers: [(f32, f32); 26],
pub key_width: f32,
pub key_height: f32,
}Expand description
宿主画出来的字母键,用宿主自己的坐标。
Fields§
§centers: [(f32, f32); 26]a..=z 各键的中心,按这个次序。
key_width: f32§key_height: f32Implementations§
Trait Implementations§
Source§impl Clone for GlideKeyboard
impl Clone for GlideKeyboard
Source§impl Debug for GlideKeyboard
impl Debug for GlideKeyboard
Source§impl PartialEq for GlideKeyboard
impl PartialEq for GlideKeyboard
impl StructuralPartialEq for GlideKeyboard
Auto Trait Implementations§
impl Freeze for GlideKeyboard
impl RefUnwindSafe for GlideKeyboard
impl Send for GlideKeyboard
impl Sync for GlideKeyboard
impl Unpin for GlideKeyboard
impl UnsafeUnpin for GlideKeyboard
impl UnwindSafe for GlideKeyboard
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