pub enum Discarded {}Trait Implementations§
Source§impl Project for Discarded
impl Project for Discarded
const RETENTION: Retention = admit::Retention::Discarded
type View<'req, 'd> = Lenwhere
'd: 'req,
fn empty<'req, 'd: 'req>() -> Scoped<'req, 'd, Self>
Source§fn try_input<'d, I, V, T>(
input: Input<I>,
value: V,
project: impl for<'view> FnOnce(Scoped<'view, 'd, Self, V, Slot<'view, 'd, (), Bound<'view, 'd, I::Proof>>>) -> T,
) -> Projection<T, I::Owner, (Input<I>, V)>where
I: Project<'d>,
fn try_input<'d, I, V, T>(
input: Input<I>,
value: V,
project: impl for<'view> FnOnce(Scoped<'view, 'd, Self, V, Slot<'view, 'd, (), Bound<'view, 'd, I::Proof>>>) -> T,
) -> Projection<T, I::Owner, (Input<I>, V)>where
I: Project<'d>,
Projects one affine source and returns its exact final owner.
fn try_project<'a, 'd, S, V, T>(
body: &'a mut Body<S>,
value: V,
project: impl for<'view> FnOnce(Scoped<'view, 'd, Self, V>) -> T,
) -> Result<T, Rejected<V, Error>>where
S: Source<'d>,
'd: 'a,
Auto Trait Implementations§
impl Forget for Discarded
impl Freeze for Discarded
impl RefUnwindSafe for Discarded
impl Send for Discarded
impl Sync for Discarded
impl Unpin for Discarded
impl UnsafeUnpin for Discarded
impl UnwindSafe for Discarded
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