pub struct SlotComponent {
pub type: SlotComponentType,
pub data: SlotComponentData,
}Expand description
Named type SlotComponent.
Fields§
§type: SlotComponentTypetype
data: SlotComponentDatadata
Implementations§
Source§impl SlotComponent
impl SlotComponent
Sourcepub fn skip(r: &mut Reader<'_>) -> DecodeResult<()>
pub fn skip(r: &mut Reader<'_>) -> DecodeResult<()>
Skips one encoded value: reads exactly the bytes Decode::decode reads, builds nothing and allocates nothing.
Trait Implementations§
Source§impl Clone for SlotComponent
impl Clone for SlotComponent
Source§impl Debug for SlotComponent
impl Debug for SlotComponent
Source§impl Decode for SlotComponent
Available on crate feature v26_2 only.
impl Decode for SlotComponent
Available on crate feature
v26_2 only.Source§fn decode(r: &mut Reader<'_>) -> DecodeResult<Self>
fn decode(r: &mut Reader<'_>) -> DecodeResult<Self>
Decodes one value, advancing the reader past it.
Source§impl Encode for SlotComponent
Available on crate feature v26_2 only.
impl Encode for SlotComponent
Available on crate feature
v26_2 only.Source§fn encode(&self, w: &mut BytesMut) -> EncodeResult
fn encode(&self, w: &mut BytesMut) -> EncodeResult
Appends the encoding of
self to w.Source§impl Generate for SlotComponent
Available on crate features testgen and v26_2 only.
impl Generate for SlotComponent
Available on crate features
testgen and v26_2 only.Source§impl PartialEq for SlotComponent
impl PartialEq for SlotComponent
impl StructuralPartialEq for SlotComponent
Auto Trait Implementations§
impl !Freeze for SlotComponent
impl Forget for SlotComponent
impl Move for SlotComponent
impl RefUnwindSafe for SlotComponent
impl Send for SlotComponent
impl Sync for SlotComponent
impl Unpin for SlotComponent
impl UnsafeUnpin for SlotComponent
impl UnwindSafe for SlotComponent
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