pub enum HybridImpl {
Rust,
Host,
}Expand description
Which side implements a binding = "direct" module (impl = "rust" default, or "host").
Variants§
Rust
Rust implements the module trait; foreign hosts invoke direct nv_mod_<snake>_* C exports.
Host
Foreign or Rust host registers NvMod<Name>HostOps; Rust invokes it directly.
Implementations§
Trait Implementations§
Source§impl Clone for HybridImpl
impl Clone for HybridImpl
Source§fn clone(&self) -> HybridImpl
fn clone(&self) -> HybridImpl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HybridImpl
Source§impl Debug for HybridImpl
impl Debug for HybridImpl
Source§impl Default for HybridImpl
impl Default for HybridImpl
Source§fn default() -> HybridImpl
fn default() -> HybridImpl
Returns the “default value” for a type. Read more
impl Eq for HybridImpl
Source§impl Hash for HybridImpl
impl Hash for HybridImpl
Source§impl PartialEq for HybridImpl
impl PartialEq for HybridImpl
impl StructuralPartialEq for HybridImpl
Auto Trait Implementations§
impl Forget for HybridImpl
impl Freeze for HybridImpl
impl Move for HybridImpl
impl RefUnwindSafe for HybridImpl
impl Send for HybridImpl
impl Sync for HybridImpl
impl Unpin for HybridImpl
impl UnsafeUnpin for HybridImpl
impl UnwindSafe for HybridImpl
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