Struct leptos::AdditionalAttributes
source · pub struct AdditionalAttributes(/* private fields */);
👎Deprecated: Most uses of
AdditionalAttributes
can be replaced with #[prop(attrs)]
and the attr:
syntax. If you have a use case that still requires AdditionalAttributes
, please open a GitHub issue here and share it: https://github.com/leptos-rs/leptosExpand description
A collection of additional HTML attributes to be applied to an element, each of which may or may not be reactive.
Trait Implementations§
source§impl Clone for AdditionalAttributes
impl Clone for AdditionalAttributes
source§fn clone(&self) -> AdditionalAttributes
fn clone(&self) -> AdditionalAttributes
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 moresource§impl Default for AdditionalAttributes
impl Default for AdditionalAttributes
source§impl<I, T, U> From<I> for AdditionalAttributes
impl<I, T, U> From<I> for AdditionalAttributes
source§impl<'a> IntoIterator for &'a AdditionalAttributes
impl<'a> IntoIterator for &'a AdditionalAttributes
Auto Trait Implementations§
impl Freeze for AdditionalAttributes
impl !RefUnwindSafe for AdditionalAttributes
impl !Send for AdditionalAttributes
impl !Sync for AdditionalAttributes
impl Unpin for AdditionalAttributes
impl !UnwindSafe for AdditionalAttributes
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