[−][src]Struct dlopen::symbor::Ref
Safe wrapper around cont reference.
This type is intended to be used only inside structures implementing SymBorApi
trait.
In other cases you can as well use normal Rust reference.
Methods
impl<'lib, T> Ref<'lib, T>
[src]
Trait Implementations
impl<'lib, T: Clone + 'lib> Clone for Ref<'lib, T>
[src]
impl<'lib, T: Copy + 'lib> Copy for Ref<'lib, T>
[src]
impl<'lib, T: Debug + 'lib> Debug for Ref<'lib, T>
[src]
impl<'lib, T> Deref for Ref<'lib, T>
[src]
impl<'lib, T> FromRawResult for Ref<'lib, T>
[src]
unsafe fn from_raw_result(
raw_result: Result<PtrOrNull<'a, ()>, Error>
) -> Result<Self, Error>
[src]
raw_result: Result<PtrOrNull<'a, ()>, Error>
) -> Result<Self, Error>
impl<'lib, T: Send> Send for Ref<'lib, T>
[src]
impl<'lib, T: Sync> Sync for Ref<'lib, T>
[src]
Auto Trait Implementations
impl<'lib, T> RefUnwindSafe for Ref<'lib, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'lib, T> Unpin for Ref<'lib, T>
impl<'lib, T> UnwindSafe for Ref<'lib, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,