pub struct Priority<T> {
pub dist: f64,
pub item: Option<T>,
}Fields§
§dist: f64§item: Option<T>Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Priority<T>where
T: Freeze,
impl<T> RefUnwindSafe for Priority<T>where
T: RefUnwindSafe,
impl<T> Send for Priority<T>where
T: Send,
impl<T> Sync for Priority<T>where
T: Sync,
impl<T> Unpin for Priority<T>where
T: Unpin,
impl<T> UnsafeUnpin for Priority<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Priority<T>where
T: 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