Enum tlfs_crdt::LensRef [−][src]
pub enum LensRef<'a> {
Make(ArchivedKind),
Destroy(ArchivedKind),
AddProperty(&'a ArchivedString),
RemoveProperty(&'a ArchivedString),
RenameProperty(&'a ArchivedString, &'a ArchivedString),
HoistProperty(&'a ArchivedString, &'a ArchivedString),
PlungeProperty(&'a ArchivedString, &'a ArchivedString),
LensIn(bool, &'a ArchivedString, &'a ArchivedLens),
LensMap(bool, &'a ArchivedLens),
LensMapValue(bool, &'a ArchivedLens),
}
Expand description
Reversible reference to an ArchivedLens
.
Variants
Make(ArchivedKind)
Tuple Fields
0: ArchivedKind
Reference to Lens::Make
.
Destroy(ArchivedKind)
Tuple Fields
0: ArchivedKind
Reference to Lens::Destroy
.
AddProperty(&'a ArchivedString)
Tuple Fields
0: &'a ArchivedString
Reference to Lens::AddProperty
.
RemoveProperty(&'a ArchivedString)
Tuple Fields
0: &'a ArchivedString
Reference to Lens::RemoveProperty
.
RenameProperty(&'a ArchivedString, &'a ArchivedString)
Reference to Lens::RenameProperty
.
HoistProperty(&'a ArchivedString, &'a ArchivedString)
Reference to Lens::HoistProperty
.
PlungeProperty(&'a ArchivedString, &'a ArchivedString)
Reference to Lens::PlungeProperty
.
LensIn(bool, &'a ArchivedString, &'a ArchivedLens)
Reference to Lens::LensIn
.
LensMap(bool, &'a ArchivedLens)
Reference to Lens::LensMap
.
LensMapValue(bool, &'a ArchivedLens)
Reference to Lens::LensMapValue
.
Implementations
Reverse the ArchivedLens
.
Reverses the ArchivedLens
if rev
is true.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for LensRef<'a>
impl<'a> UnwindSafe for LensRef<'a>
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more