pub struct TextElementSlot {
pub elem_array_idx: usize,
pub node_idx: Option<usize>,
pub is_text: bool,
pub x_offset: i32,
pub y_offset: i32,
pub width: i32,
pub height: i32,
}Expand description
インプレーステキスト更新の判定に使う RenderElement の位置・種別スナップショット。
Fields§
§elem_array_idx: usize§node_idx: Option<usize>§is_text: bool§x_offset: i32§y_offset: i32§width: i32§height: i32Trait Implementations§
Source§impl Clone for TextElementSlot
impl Clone for TextElementSlot
Source§impl Debug for TextElementSlot
impl Debug for TextElementSlot
impl Eq for TextElementSlot
Source§impl PartialEq for TextElementSlot
impl PartialEq for TextElementSlot
impl StructuralPartialEq for TextElementSlot
Auto Trait Implementations§
impl Freeze for TextElementSlot
impl RefUnwindSafe for TextElementSlot
impl Send for TextElementSlot
impl Sync for TextElementSlot
impl Unpin for TextElementSlot
impl UnsafeUnpin for TextElementSlot
impl UnwindSafe for TextElementSlot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.