pub struct ListMapProperty<'a, P, O> { /* private fields */ }Expand description
Result of a map() operation.
The operations supported on MappedProperty are dependent on the “true” type
of mapped.
Implementations§
Source§impl<'a, P, O> ListMapProperty<'a, P, O>
impl<'a, P, O> ListMapProperty<'a, P, O>
pub fn new( property: P, placeholder: PropertyPlaceholder<O>, mapped: BoxedAnyProperty<'a>, ) -> Self
Trait Implementations§
Source§impl<'a, P, O> AnyTemplateProperty<'a> for ListMapProperty<'a, P, O>
impl<'a, P, O> AnyTemplateProperty<'a> for ListMapProperty<'a, P, O>
fn try_into_serialize(self: Box<Self>) -> Option<BoxedSerializeProperty<'a>>
fn try_into_template(self: Box<Self>) -> Option<Box<dyn Template + 'a>>
Auto Trait Implementations§
impl<'a, P, O> Freeze for ListMapProperty<'a, P, O>where
P: Freeze,
impl<'a, P, O> !RefUnwindSafe for ListMapProperty<'a, P, O>
impl<'a, P, O> !Send for ListMapProperty<'a, P, O>
impl<'a, P, O> !Sync for ListMapProperty<'a, P, O>
impl<'a, P, O> Unpin for ListMapProperty<'a, P, O>where
P: Unpin,
impl<'a, P, O> UnsafeUnpin for ListMapProperty<'a, P, O>where
P: UnsafeUnpin,
impl<'a, P, O> !UnwindSafe for ListMapProperty<'a, P, O>
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
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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more