Struct placeholder
pub struct placeholder<L1, L2, T>(/* private fields */);
Expand description
Lens for the field placeholder
on ComboBox
.
Implementations§
§impl<L1, L2, T> placeholder<L1, L2, T>
impl<L1, L2, T> placeholder<L1, L2, T>
pub const fn new() -> placeholder<L1, L2, T>
pub const fn new() -> placeholder<L1, L2, T>
Creates a new lens for the field placeholder
on ComboBox
. Use ComboBox::placeholder
instead.
Trait Implementations§
§impl<L1, L2, T> Clone for placeholder<L1, L2, T>
impl<L1, L2, T> Clone for placeholder<L1, L2, T>
§fn clone(&self) -> placeholder<L1, L2, T>
fn clone(&self) -> placeholder<L1, L2, T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl<L1, L2, T> Debug for placeholder<L1, L2, T>
impl<L1, L2, T> Debug for placeholder<L1, L2, T>
§impl<L1, L2, T> Hash for placeholder<L1, L2, T>where
L1: 'static,
L2: 'static,
T: 'static,
impl<L1, L2, T> Hash for placeholder<L1, L2, T>where
L1: 'static,
L2: 'static,
T: 'static,
§impl<L1, L2, T> Lens for placeholder<L1, L2, T>
impl<L1, L2, T> Lens for placeholder<L1, L2, T>
§impl<L1, L2, T> PartialEq for placeholder<L1, L2, T>
impl<L1, L2, T> PartialEq for placeholder<L1, L2, T>
impl<L1, L2, T> Copy for placeholder<L1, L2, T>
impl<L1, L2, T> Eq for placeholder<L1, L2, T>
impl<L1, L2, T> StructuralPartialEq for placeholder<L1, L2, T>
Auto Trait Implementations§
impl<L1, L2, T> Freeze for placeholder<L1, L2, T>
impl<L1, L2, T> RefUnwindSafe for placeholder<L1, L2, T>
impl<L1, L2, T> !Send for placeholder<L1, L2, T>
impl<L1, L2, T> !Sync for placeholder<L1, L2, T>
impl<L1, L2, T> Unpin for placeholder<L1, L2, T>
impl<L1, L2, T> UnwindSafe for placeholder<L1, L2, T>
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> LensExt for Twhere
T: Lens,
impl<T> LensExt for Twhere
T: Lens,
fn or<Other>(self, other: Other) -> OrLens<Self, Other>
fn and<Other>(self, other: Other) -> AndLens<Self, Other>
§fn then<Other>(self, other: Other) -> Then<Self, Other>
fn then<Other>(self, other: Other) -> Then<Self, Other>
Used to construct a lens to some data contained within some other lensed data. Read more