pub struct Ras { /* private fields */ }Expand description
Main assembler interface
Implementations§
Source§impl Ras
impl Ras
pub fn new( target_arch: TargetArchitecture, target_os: TargetOperatingSystem, ) -> Result<Self, RasError>
pub fn with_object_write_options( target_arch: TargetArchitecture, target_os: TargetOperatingSystem, object_write_options: ObjectWriteOptions, ) -> Result<Self, RasError>
pub fn assemble( &mut self, asm_text: &str, output_path: &Path, ) -> Result<(), RasError>
pub fn assemble_file( &mut self, input_path: &Path, output_path: &Path, ) -> Result<(), RasError>
Auto Trait Implementations§
impl Freeze for Ras
impl !RefUnwindSafe for Ras
impl !Send for Ras
impl !Sync for Ras
impl Unpin for Ras
impl UnsafeUnpin for Ras
impl !UnwindSafe for Ras
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