pub struct HotTextInner<'req> { /* private fields */ }Implementations§
Source§impl<'req> HotTextInner<'req>
impl<'req> HotTextInner<'req>
pub fn new() -> Self
pub fn from_items<const N: usize>(items: [TextItemInner<'req>; N]) -> Self
pub fn from_static(bytes: &'static [u8]) -> Self
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn push_static(&mut self, bytes: &'static [u8]) -> &mut Self
pub fn push_local(&mut self, bytes: LocalFrameBytesRef<'req>) -> &mut Self
pub fn into_bytes(self) -> Shared
Trait Implementations§
Source§impl<'req> Clone for HotTextInner<'req>
impl<'req> Clone for HotTextInner<'req>
Source§impl<'req> Debug for HotTextInner<'req>
impl<'req> Debug for HotTextInner<'req>
Source§impl<'req> Default for HotTextInner<'req>
impl<'req> Default for HotTextInner<'req>
Source§impl<'req> TextSpec<'req> for HotTextInner<'req>
impl<'req> TextSpec<'req> for HotTextInner<'req>
fn into_hot_text(self) -> Self
Auto Trait Implementations§
impl<'req> !RefUnwindSafe for HotTextInner<'req>
impl<'req> !Send for HotTextInner<'req>
impl<'req> !Sync for HotTextInner<'req>
impl<'req> !UnwindSafe for HotTextInner<'req>
impl<'req> Freeze for HotTextInner<'req>
impl<'req> Unpin for HotTextInner<'req>
impl<'req> UnsafeUnpin for HotTextInner<'req>
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