pub struct TextElementLayout {
pub element_index: usize,
pub text: String,
pub x: i32,
pub y: i32,
pub width: i32,
pub height: i32,
}Expand description
テキスト選択計算用の要素レイアウト情報(純粋構造体)
Fields§
§element_index: usize§text: String§x: i32§y: i32§width: i32§height: i32Trait Implementations§
Source§impl Clone for TextElementLayout
impl Clone for TextElementLayout
Source§fn clone(&self) -> TextElementLayout
fn clone(&self) -> TextElementLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TextElementLayout
impl Debug for TextElementLayout
impl Eq for TextElementLayout
Source§impl PartialEq for TextElementLayout
impl PartialEq for TextElementLayout
impl StructuralPartialEq for TextElementLayout
Auto Trait Implementations§
impl Freeze for TextElementLayout
impl RefUnwindSafe for TextElementLayout
impl Send for TextElementLayout
impl Sync for TextElementLayout
impl Unpin for TextElementLayout
impl UnsafeUnpin for TextElementLayout
impl UnwindSafe for TextElementLayout
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.