pub struct Block<'a> {
pub fixed: &'a BlockFixed,
pub name: &'a BStr,
}
Expand description
Block Start: This symbol specifies the start of an inner block of lexically scoped symbols.
The lexical scope is terminated by a matching S_END
symbol.
This symbol should only be nested (directly or indirectly) within a function symbol
(S_GPROC32
, S_LPROC32
, etc.).
See BLOCKSYM32
Fields§
§fixed: &'a BlockFixed
§name: &'a BStr
Trait Implementations§
Source§impl<'a> Parse<'a> for Block<'a>
impl<'a> Parse<'a> for Block<'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 Block<'a>
impl<'a> RefUnwindSafe for Block<'a>
impl<'a> Send for Block<'a>
impl<'a> Sync for Block<'a>
impl<'a> Unpin for Block<'a>
impl<'a> UnwindSafe for Block<'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