pub struct RefSym2<'a> {
pub header: &'a RefSym2Fixed,
pub name: &'a BStr,
}
Expand description
Several symbols use this structure: S_PROCREF
, S_LPROCREF
, S_DATAREF
. These symbols
are present in the Global Symbol Stream, not in module symbol streams.
These S_*REF
symbols tell you where to find a specific global symbol, but they do not directly
describe the symbol. Instead, you have to load the corresponding module
Fields§
§header: &'a RefSym2Fixed
§name: &'a BStr
Trait Implementations§
Source§impl<'a> Parse<'a> for RefSym2<'a>
impl<'a> Parse<'a> for RefSym2<'a>
Source§fn from_parser(p: &mut Parser<'a>) -> Result<Self, ParserError>
fn from_parser(p: &mut Parser<'a>) -> Result<Self, ParserError>
Parses an instance of
Self
from a Parser
.
This allows the caller to detect which bytes were not consumed at the end of the input.Auto Trait Implementations§
impl<'a> Freeze for RefSym2<'a>
impl<'a> RefUnwindSafe for RefSym2<'a>
impl<'a> Send for RefSym2<'a>
impl<'a> Sync for RefSym2<'a>
impl<'a> Unpin for RefSym2<'a>
impl<'a> UnwindSafe for RefSym2<'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