pub struct VElement<'a, const CHLD: usize = CHLD_DEFAULT, const ATTR: usize = ATTR_DEFAULT> { /* private fields */ }Implementations§
Source§impl<'a, const CHLD: usize, const ATTR: usize> VElement<'a, CHLD, ATTR>
impl<'a, const CHLD: usize, const ATTR: usize> VElement<'a, CHLD, ATTR>
pub fn child(self, child: impl Render + 'a) -> Self
pub fn attr(self, attr: impl Into<VAttribute<'a>>) -> Self
pub fn single(self, value: bool) -> Self
pub fn get_children_presize(&self) -> usize
pub fn get_attributes_presize(&self) -> usize
pub fn is_children_spilled(&self) -> bool
pub fn is_attributes_spilled(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl<'a, const CHLD: usize, const ATTR: usize> Freeze for VElement<'a, CHLD, ATTR>
impl<'a, const CHLD: usize = CHLD_DEFAULT, const ATTR: usize = ATTR_DEFAULT> !RefUnwindSafe for VElement<'a, CHLD, ATTR>
impl<'a, const CHLD: usize = CHLD_DEFAULT, const ATTR: usize = ATTR_DEFAULT> !Send for VElement<'a, CHLD, ATTR>
impl<'a, const CHLD: usize = CHLD_DEFAULT, const ATTR: usize = ATTR_DEFAULT> !Sync for VElement<'a, CHLD, ATTR>
impl<'a, const CHLD: usize, const ATTR: usize> Unpin for VElement<'a, CHLD, ATTR>
impl<'a, const CHLD: usize = CHLD_DEFAULT, const ATTR: usize = ATTR_DEFAULT> !UnwindSafe for VElement<'a, CHLD, ATTR>
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