Struct emf_core_base_rs::module::Loader [−][src]
pub struct Loader<'a, O> { /* fields omitted */ }
A loader handle.
Implementations
impl<'a, O> Loader<'a, O> where
O: AccessIdentifier,
[src]
impl<'a, O> Loader<'a, O> where
O: AccessIdentifier,
[src]pub const unsafe fn new(handle: LoaderHandle) -> Self
[src]
pub const unsafe fn new(handle: LoaderHandle) -> Self
[src]Construct a new instance from a handle.
Safety
This function allows the creation of invalid handles by bypassing lifetimes.
pub const fn as_handle(&self) -> LoaderHandle
[src]
pub const fn as_handle(&self) -> LoaderHandle
[src]Fetches the internal handle.
impl<'a> Loader<'a, Owned>
[src]
impl<'a> Loader<'a, Owned>
[src]pub const fn as_borrowed(&self) -> Loader<'a, BorrowImmutable<'_>>
[src]
pub const fn as_borrowed(&self) -> Loader<'a, BorrowImmutable<'_>>
[src]Borrows the loader handle.
pub fn as_borrowed_mut(&mut self) -> Loader<'a, BorrowMutable<'_>>
[src]
pub fn as_borrowed_mut(&mut self) -> Loader<'a, BorrowMutable<'_>>
[src]Borrows the loader handle mutably.
Trait Implementations
impl<'a, O: Ord> Ord for Loader<'a, O>
[src]
impl<'a, O: Ord> Ord for Loader<'a, O>
[src]impl<'a, O: PartialOrd> PartialOrd<Loader<'a, O>> for Loader<'a, O>
[src]
impl<'a, O: PartialOrd> PartialOrd<Loader<'a, O>> for Loader<'a, O>
[src]fn partial_cmp(&self, other: &Loader<'a, O>) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Loader<'a, O>) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<'a, O: Copy> Copy for Loader<'a, O>
[src]
impl<'a, O: Eq> Eq for Loader<'a, O>
[src]
impl<'a, O> StructuralEq for Loader<'a, O>
[src]
impl<'a, O> StructuralPartialEq for Loader<'a, O>
[src]
Auto Trait Implementations
impl<'a, O> RefUnwindSafe for Loader<'a, O> where
O: RefUnwindSafe,
O: RefUnwindSafe,
impl<'a, O> !Send for Loader<'a, O>
impl<'a, O> !Sync for Loader<'a, O>
impl<'a, O> Unpin for Loader<'a, O>
impl<'a, O> UnwindSafe for Loader<'a, O> where
O: RefUnwindSafe,
O: RefUnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more