pub struct InArc<L> { /* private fields */ }
Expand description
A Lens
that exposes data within an Arc
with copy-on-write semantics
A copy is only made in the event that a different value is written.
Implementations§
Trait Implementations§
impl<L: Copy> Copy for InArc<L>
Auto Trait Implementations§
impl<L> RefUnwindSafe for InArc<L>where L: RefUnwindSafe,
impl<L> Send for InArc<L>where L: Send,
impl<L> Sync for InArc<L>where L: Sync,
impl<L> Unpin for InArc<L>where L: Unpin,
impl<L> UnwindSafe for InArc<L>where L: UnwindSafe,
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.