pub struct CollectionAnchor<K> {
pub key: K,
pub offset_within_item: f32,
pub gravity: CollectionAnchorGravity,
}Fields§
§key: K§offset_within_item: f32§gravity: CollectionAnchorGravityTrait Implementations§
Source§impl<K: Clone> Clone for CollectionAnchor<K>
impl<K: Clone> Clone for CollectionAnchor<K>
Source§impl<K: Debug> Debug for CollectionAnchor<K>
impl<K: Debug> Debug for CollectionAnchor<K>
Source§impl<K: PartialEq> PartialEq for CollectionAnchor<K>
impl<K: PartialEq> PartialEq for CollectionAnchor<K>
impl<K: PartialEq> StructuralPartialEq for CollectionAnchor<K>
Auto Trait Implementations§
impl<K> Forget for CollectionAnchor<K>
impl<K> Freeze for CollectionAnchor<K>where
K: Freeze,
impl<K> Move for CollectionAnchor<K>
impl<K> RefUnwindSafe for CollectionAnchor<K>where
K: RefUnwindSafe,
impl<K> Send for CollectionAnchor<K>where
K: Send,
impl<K> Sync for CollectionAnchor<K>where
K: Sync,
impl<K> Unpin for CollectionAnchor<K>where
K: Unpin,
impl<K> UnsafeUnpin for CollectionAnchor<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for CollectionAnchor<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