pub struct SlotMutations<'a, Dom: Dom = DefaultDom>(/* private fields */);Expand description
The (<slot>)mdn HTML element—part of the Web Components technology
suite—is a placeholder inside a web component that you can fill with
your own markup, which lets you create separate DOM trees and present
them together.
Implementations§
Auto Trait Implementations§
impl<'a, Dom> Freeze for SlotMutations<'a, Dom>
impl<'a, Dom = Dry> !RefUnwindSafe for SlotMutations<'a, Dom>
impl<'a, Dom = Dry> !Send for SlotMutations<'a, Dom>
impl<'a, Dom = Dry> !Sync for SlotMutations<'a, Dom>
impl<'a, Dom> Unpin for SlotMutations<'a, Dom>
impl<'a, Dom = Dry> !UnwindSafe for SlotMutations<'a, Dom>
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> 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