#[repr(C)]pub struct PassContextObj {
pub opt_level: i32,
pub required_pass: Array<String>,
pub disabled_pass: Array<String>,
pub config: Map<String, Any>,
pub instruments: Array<PassInstrument>,
/* private fields */
}Expand description
Complete: reflected fields fill [24, 64) exactly (alignment padding [28, 32)).
Fields§
§opt_level: i32§required_pass: Array<String>§disabled_pass: Array<String>§config: Map<String, Any>§instruments: Array<PassInstrument>Trait Implementations§
Source§impl<'a> From<&'a PassContextObj> for AnyView<'a>
impl<'a> From<&'a PassContextObj> for AnyView<'a>
Source§fn from(value: &'a PassContextObj) -> Self
fn from(value: &'a PassContextObj) -> Self
Converts to this type from the input type.
Source§impl ObjectCore for PassContextObj
impl ObjectCore for PassContextObj
Source§const TYPE_DEPTH: i32 = 1i32
const TYPE_DEPTH: i32 = 1i32
Depth of this type in the object inheritance tree. Read more
fn type_index() -> i32
Source§unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
Return the object header
This function is implemented as a static function so Read more
Auto Trait Implementations§
impl !Freeze for PassContextObj
impl RefUnwindSafe for PassContextObj
impl !Send for PassContextObj
impl !Sync for PassContextObj
impl Unpin for PassContextObj
impl UnwindSafe for PassContextObj
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