pub struct Origin<S> {
pub value: S,
pub position: Position,
}Fields§
§value: S§position: PositionImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Origin<S>where
S: Freeze,
impl<S> RefUnwindSafe for Origin<S>where
S: RefUnwindSafe,
impl<S> Send for Origin<S>where
S: Send,
impl<S> Sync for Origin<S>where
S: Sync,
impl<S> Unpin for Origin<S>where
S: Unpin,
impl<S> UnsafeUnpin for Origin<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Origin<S>where
S: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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