pub struct SetLabel {
pub address: SpaceAddressValue,
pub label: String,
pub provisional: bool,
pub local: bool,
}Fields§
§address: SpaceAddressValue§label: String§provisional: boolA working guess rather than a finalized name. If true, stays on the naming worklist.
local: boolScoped to the routine containing it.
Implementations§
Source§impl SetLabel
impl SetLabel
Sourcepub fn new(
address: impl Into<SpaceAddressValue>,
label: impl Into<String>,
provisional: impl Into<bool>,
local: impl Into<bool>,
) -> Self
pub fn new( address: impl Into<SpaceAddressValue>, label: impl Into<String>, provisional: impl Into<bool>, local: impl Into<bool>, ) -> Self
Name the code address with label. Pass provisional=True for a
working guess: it is stored and shown like any name, but the address
stays on the naming worklist so a later pass can adjust it.
Trait Implementations§
Source§impl Command for SetLabel
impl Command for SetLabel
Source§impl<'de> Deserialize<'de> for SetLabel
impl<'de> Deserialize<'de> for SetLabel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for SetLabel
Auto Trait Implementations§
impl Forget for SetLabel
impl Freeze for SetLabel
impl Move for SetLabel
impl RefUnwindSafe for SetLabel
impl Send for SetLabel
impl Sync for SetLabel
impl Unpin for SetLabel
impl UnsafeUnpin for SetLabel
impl UnwindSafe for SetLabel
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