pub enum Fragment {
Raw(WebUiFragmentRaw),
Component(WebUiFragmentComponent),
ForLoop(WebUiFragmentFor),
Signal(WebUiFragmentSignal),
IfCond(WebUiFragmentIf),
Attribute(WebUiFragmentAttribute),
Plugin(WebUiFragmentPlugin),
Route(WebUiFragmentRoute),
Outlet(WebUiFragmentOutlet),
}Variants§
Raw(WebUiFragmentRaw)
Component(WebUiFragmentComponent)
ForLoop(WebUiFragmentFor)
Signal(WebUiFragmentSignal)
IfCond(WebUiFragmentIf)
Attribute(WebUiFragmentAttribute)
Plugin(WebUiFragmentPlugin)
Route(WebUiFragmentRoute)
Outlet(WebUiFragmentOutlet)
Implementations§
Source§impl Fragment
impl Fragment
Sourcepub fn merge(
field: &mut Option<Fragment>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<Fragment>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Fragment
impl<'de> Deserialize<'de> for Fragment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Fragment
Auto Trait Implementations§
impl Freeze for Fragment
impl RefUnwindSafe for Fragment
impl Send for Fragment
impl Sync for Fragment
impl Unpin for Fragment
impl UnsafeUnpin for Fragment
impl UnwindSafe for Fragment
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