pub struct FastElementData {
pub binding_count: u32,
}Expand description
FAST hydration element metadata encoded in plugin fragments.
Fields§
§binding_count: u32Number of dynamic attribute bindings on the element.
Implementations§
Source§impl FastElementData
impl FastElementData
Sourcepub fn encode_v3(self) -> [u8; 4]
pub fn encode_v3(self) -> [u8; 4]
Encode this metadata using the FAST 3 four-byte little-endian wire format.
Sourcepub fn encode_v2(self, reset_child_index: bool) -> [u8; 5]
pub fn encode_v2(self, reset_child_index: bool) -> [u8; 5]
Encode FAST 2 metadata with its child-index lifecycle flag.
Trait Implementations§
Source§impl Clone for FastElementData
impl Clone for FastElementData
impl Copy for FastElementData
Source§impl Debug for FastElementData
impl Debug for FastElementData
impl Eq for FastElementData
Source§impl PartialEq for FastElementData
impl PartialEq for FastElementData
impl StructuralPartialEq for FastElementData
Auto Trait Implementations§
impl Freeze for FastElementData
impl RefUnwindSafe for FastElementData
impl Send for FastElementData
impl Sync for FastElementData
impl Unpin for FastElementData
impl UnsafeUnpin for FastElementData
impl UnwindSafe for FastElementData
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