pub struct Label {
pub name: String,
pub offset: Option<usize>,
pub fixup_locations: Vec<usize>,
}Expand description
标签信息
Fields§
§name: String标签名称
offset: Option<usize>标签在代码中的偏移(如果已定义)
fixup_locations: Vec<usize>需要回填的位置列表
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Label
impl RefUnwindSafe for Label
impl Send for Label
impl Sync for Label
impl Unpin for Label
impl UnwindSafe for Label
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