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 for InArc<L>where L: Copy,
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§
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<A, B, T> LensExt<A, B> for Twhere
T: Lens<A, B>,
A: ?Sized,
B: ?Sized,
impl<A, B, T> LensExt<A, B> for Twhere T: Lens<A, B>, A: ?Sized, B: ?Sized,
§fn then<Other, C>(self, other: Other) -> Then<Self, Other, B>where
Other: Lens<B, C>,
Self: Sized,
C: ?Sized,
fn then<Other, C>(self, other: Other) -> Then<Self, Other, B>where Other: Lens<B, C>, Self: Sized, C: ?Sized,
§fn map<Get, Put, C>(self, get: Get, put: Put) -> Then<Self, Map<Get, Put>, B>where
Get: Fn(&B) -> C,
Put: Fn(&mut B, C),
Self: Sized,
fn map<Get, Put, C>(self, get: Get, put: Put) -> Then<Self, Map<Get, Put>, B>where Get: Fn(&B) -> C, Put: Fn(&mut B, C), Self: Sized,
§fn deref(self) -> Then<Self, Deref, B>where
B: Deref + DerefMut,
Self: Sized,
fn deref(self) -> Then<Self, Deref, B>where B: Deref + DerefMut, Self: Sized,
Invoke a type’s
Deref
impl Read more§fn index<I>(self, index: I) -> Then<Self, Index<I>, B>where
I: Clone,
B: Index<I> + IndexMut<I>,
Self: Sized,
fn index<I>(self, index: I) -> Then<Self, Index<I>, B>where I: Clone, B: Index<I> + IndexMut<I>, Self: Sized,
Access an index in a container Read more
§impl<T> Pointable for T
impl<T> Pointable for T
§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.