Struct klinker::ArgumentSection [−][src]
pub struct ArgumentSection { /* fields omitted */ }
Implementations
impl ArgumentSection
[src]
impl ArgumentSection
[src]pub fn new() -> ArgumentSection
[src]
pub fn add(&mut self, value: KOSValue) -> Result<usize, Box<dyn Error>>
[src]
Adds a KOSValue to the argument section, but checks if the argument already exists Returns the index into the argument section that this argument is at
pub fn add_no_check(&mut self, value: KOSValue) -> usize
[src]
Unconditionally adds a KOSValue to the argument section Returns the index into the argument section that this argument is at
pub fn write(
&mut self,
writer: &mut KSMFileWriter
) -> Result<(), Box<dyn Error>>
[src]
&mut self,
writer: &mut KSMFileWriter
) -> Result<(), Box<dyn Error>>
pub fn get_addr(&self, index: u32) -> Result<u32, Box<dyn Error>>
[src]
pub fn get_addr_bytes(&mut self) -> u32
[src]
Auto Trait Implementations
impl RefUnwindSafe for ArgumentSection
impl RefUnwindSafe for ArgumentSection
impl Send for ArgumentSection
impl Send for ArgumentSection
impl Sync for ArgumentSection
impl Sync for ArgumentSection
impl Unpin for ArgumentSection
impl Unpin for ArgumentSection
impl UnwindSafe for ArgumentSection
impl UnwindSafe for ArgumentSection