pub struct VirtualItem {
pub key: ItemKey,
pub index: usize,
pub start: Px,
pub end: Px,
pub size: Px,
}Fields§
§key: ItemKey§index: usize§start: Px§end: Px§size: PxTrait Implementations§
Source§impl Clone for VirtualItem
impl Clone for VirtualItem
Source§fn clone(&self) -> VirtualItem
fn clone(&self) -> VirtualItem
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 moreimpl Copy for VirtualItem
Source§impl Debug for VirtualItem
impl Debug for VirtualItem
Source§impl PartialEq for VirtualItem
impl PartialEq for VirtualItem
Source§fn eq(&self, other: &VirtualItem) -> bool
fn eq(&self, other: &VirtualItem) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VirtualItem
Auto Trait Implementations§
impl Freeze for VirtualItem
impl RefUnwindSafe for VirtualItem
impl Send for VirtualItem
impl Sync for VirtualItem
impl Unpin for VirtualItem
impl UnsafeUnpin for VirtualItem
impl UnwindSafe for VirtualItem
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