[][src]Struct gdnative_core::access::Owned

pub struct Owned<G> where
    G: Guard + WritePtr,
    G::Target: Copy
{ /* fields omitted */ }

An pool array write access with an owned aligned copy. The data is written back when this is dropped.

Methods

impl<G> Owned<G> where
    G: Guard + WritePtr,
    G::Target: Copy
[src]

pub fn as_slice(&self) -> &[G::Target][src]

pub fn as_mut_slice(&mut self) -> &mut [G::Target][src]

Trait Implementations

impl<G: Debug> Debug for Owned<G> where
    G: Guard + WritePtr,
    G::Target: Copy,
    G::Target: Debug
[src]

impl<G> Deref for Owned<G> where
    G: Guard + WritePtr,
    G::Target: Copy
[src]

type Target = [G::Target]

The resulting type after dereferencing.

impl<G> DerefMut for Owned<G> where
    G: Guard + WritePtr,
    G::Target: Copy
[src]

impl<G> Drop for Owned<G> where
    G: Guard + WritePtr,
    G::Target: Copy
[src]

Auto Trait Implementations

impl<G> RefUnwindSafe for Owned<G> where
    G: RefUnwindSafe,
    <G as Guard>::Target: RefUnwindSafe

impl<G> Send for Owned<G> where
    G: Send,
    <G as Guard>::Target: Send

impl<G> Sync for Owned<G> where
    G: Sync,
    <G as Guard>::Target: Sync

impl<G> Unpin for Owned<G> where
    G: Unpin,
    <G as Guard>::Target: Unpin

impl<G> UnwindSafe for Owned<G> where
    G: UnwindSafe,
    <G as Guard>::Target: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.