Struct psl::datamodel_connector::NativeTypeInstance
source · pub struct NativeTypeInstance(/* private fields */);
Implementations§
source§impl NativeTypeInstance
impl NativeTypeInstance
pub fn new<T>(native_type: T) -> NativeTypeInstancewhere T: Any + Send + Sync + 'static,
pub fn downcast_ref<T>(&self) -> &Twhere T: 'static + Any,
Trait Implementations§
source§impl Clone for NativeTypeInstance
impl Clone for NativeTypeInstance
source§fn clone(&self) -> NativeTypeInstance
fn clone(&self) -> NativeTypeInstance
Returns a copy 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 !RefUnwindSafe for NativeTypeInstance
impl Send for NativeTypeInstance
impl Sync for NativeTypeInstance
impl Unpin for NativeTypeInstance
impl !UnwindSafe for NativeTypeInstance
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