Struct pdl_compiler::backends::intermediate::PacketOrStruct
source · pub struct PacketOrStruct<'a> {
pub computed_offsets: HashMap<ComputedOffsetId<'a>, ComputedOffset<'a>>,
pub computed_values: HashMap<ComputedValueId<'a>, ComputedValue<'a>>,
pub length: PacketOrStructLength,
}
Fields§
§computed_offsets: HashMap<ComputedOffsetId<'a>, ComputedOffset<'a>>
§computed_values: HashMap<ComputedValueId<'a>, ComputedValue<'a>>
§length: PacketOrStructLength
whether the parse of this packet needs to know its length, or if the packet can determine its own length
Auto Trait Implementations§
impl<'a> RefUnwindSafe for PacketOrStruct<'a>
impl<'a> Send for PacketOrStruct<'a>
impl<'a> Sync for PacketOrStruct<'a>
impl<'a> Unpin for PacketOrStruct<'a>
impl<'a> UnwindSafe for PacketOrStruct<'a>
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