pub struct CilAssembly {
pub name: String,
pub version: (u16, u16, u16, u16),
pub classes: Vec<CilClass>,
pub entry_point: Option<(String, String)>,
pub custom_attrs: Vec<String>,
pub references: Vec<String>,
pub target_runtime: String,
}Expand description
A .NET assembly containing one or more classes.
Fields§
§name: String§version: (u16, u16, u16, u16)§classes: Vec<CilClass>§entry_point: Option<(String, String)>§custom_attrs: Vec<String>§references: Vec<String>§target_runtime: StringImplementations§
Source§impl CilAssembly
impl CilAssembly
Sourcepub fn find_class(&self, full_name: &str) -> Option<&CilClass>
pub fn find_class(&self, full_name: &str) -> Option<&CilClass>
Find a class by full name.
Trait Implementations§
Source§impl Clone for CilAssembly
impl Clone for CilAssembly
Source§fn clone(&self) -> CilAssembly
fn clone(&self) -> CilAssembly
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CilAssembly
impl RefUnwindSafe for CilAssembly
impl Send for CilAssembly
impl Sync for CilAssembly
impl Unpin for CilAssembly
impl UnsafeUnpin for CilAssembly
impl UnwindSafe for CilAssembly
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