pub struct SymBuilder {
pub buffer: Vec<u8>,
}
Expand description
Writes symbol records into a buffer.
Fields§
§buffer: Vec<u8>
Contains the symbol stream
Implementations§
Source§impl SymBuilder
impl SymBuilder
Sourcepub fn record(&mut self, kind: SymKind) -> RecordBuilder<'_>
pub fn record(&mut self, kind: SymKind) -> RecordBuilder<'_>
Starts adding a new record to the builder.
Trait Implementations§
Source§impl Default for SymBuilder
impl Default for SymBuilder
Source§fn default() -> SymBuilder
fn default() -> SymBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SymBuilder
impl RefUnwindSafe for SymBuilder
impl Send for SymBuilder
impl Sync for SymBuilder
impl Unpin for SymBuilder
impl UnwindSafe for SymBuilder
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