pub struct NativeModule {
pub ast: Vec<u8>,
pub entry: String,
}Expand description
native-module module descriptor used by native lowering builders.
Fields§
§ast: Vec<u8>Backend-owned serialized AST payload.
entry: StringEntry-point name.
Trait Implementations§
Source§impl Clone for NativeModule
impl Clone for NativeModule
Source§fn clone(&self) -> NativeModule
fn clone(&self) -> NativeModule
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 moreSource§impl Debug for NativeModule
impl Debug for NativeModule
Source§impl PartialEq for NativeModule
impl PartialEq for NativeModule
impl Eq for NativeModule
impl StructuralPartialEq for NativeModule
Auto Trait Implementations§
impl Freeze for NativeModule
impl RefUnwindSafe for NativeModule
impl Send for NativeModule
impl Sync for NativeModule
impl Unpin for NativeModule
impl UnsafeUnpin for NativeModule
impl UnwindSafe for NativeModule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.