pub struct WidgetPosition<K> {
pub index: K,
pub row: usize,
pub column: usize,
}Expand description
A content position associated with a renderer item.
Fields§
§index: K§row: usize§column: usizeImplementations§
Source§impl<K> WidgetPosition<K>
impl<K> WidgetPosition<K>
pub fn content_position(&self) -> ContentPosition
Trait Implementations§
Source§impl<K: Clone> Clone for WidgetPosition<K>
impl<K: Clone> Clone for WidgetPosition<K>
Source§fn clone(&self) -> WidgetPosition<K>
fn clone(&self) -> WidgetPosition<K>
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<K: Debug> Debug for WidgetPosition<K>
impl<K: Debug> Debug for WidgetPosition<K>
impl<K: Eq> Eq for WidgetPosition<K>
Source§impl<K: PartialEq> PartialEq for WidgetPosition<K>
impl<K: PartialEq> PartialEq for WidgetPosition<K>
impl<K: PartialEq> StructuralPartialEq for WidgetPosition<K>
Auto Trait Implementations§
impl<K> Freeze for WidgetPosition<K>where
K: Freeze,
impl<K> RefUnwindSafe for WidgetPosition<K>where
K: RefUnwindSafe,
impl<K> Send for WidgetPosition<K>where
K: Send,
impl<K> Sync for WidgetPosition<K>where
K: Sync,
impl<K> Unpin for WidgetPosition<K>where
K: Unpin,
impl<K> UnsafeUnpin for WidgetPosition<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for WidgetPosition<K>where
K: UnwindSafe,
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