pub struct Input<'owner, 'd>(/* private fields */);Expand description
The original source, before its one selected projection.
Implementations§
Trait Implementations§
Source§impl<'owner, 'd> Project<'d> for Input<'owner, 'd>
impl<'owner, 'd> Project<'d> for Input<'owner, 'd>
type Proof = Selected<'owner>
type Owner = Frozen<'owner, 'd>
fn contiguous<V, T>( self, value: V, project: impl for<'req> FnOnce(V, View<'req, 'd>, Slot<'req, 'd, (), Bound<'req, 'd, Selected<'owner>>>) -> T, ) -> Result<(T, Self::Owner), (Self, V, Error)>
fn segmented<V, T>( self, value: V, project: impl for<'req> FnOnce(V, Ref<'req, 'd>, Slot<'req, 'd, (), Bound<'req, 'd, Selected<'owner>>>) -> T, ) -> (T, Self::Owner)
fn discarded<V, T>( self, value: V, project: impl for<'req> FnOnce(V, Slot<'req, 'd, (), Bound<'req, 'd, Selected<'owner>>>) -> T, ) -> (T, Self::Owner)
Auto Trait Implementations§
impl<'owner, 'd> !RefUnwindSafe for Input<'owner, 'd>
impl<'owner, 'd> !Send for Input<'owner, 'd>
impl<'owner, 'd> !Sync for Input<'owner, 'd>
impl<'owner, 'd> !UnwindSafe for Input<'owner, 'd>
impl<'owner, 'd> Freeze for Input<'owner, 'd>
impl<'owner, 'd> Unpin for Input<'owner, 'd>
impl<'owner, 'd> UnsafeUnpin for Input<'owner, 'd>
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