[−][src]Struct gdnative_core::access::Aligned
An pool array access that is (assumed to be) aligned.
Methods
impl<G: Guard> Aligned<G>
[src]
pub fn as_slice(&self) -> &[G::Target]
[src]
pub fn as_mut_slice(&mut self) -> &mut [G::Target] where
G: WritePtr,
[src]
G: WritePtr,
Trait Implementations
impl<G: Clone> Clone for Aligned<G>
[src]
impl<G: Debug> Debug for Aligned<G>
[src]
impl<G: Guard> Deref for Aligned<G>
[src]
type Target = [G::Target]
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl<G: Guard + WritePtr> DerefMut for Aligned<G>
[src]
impl<G: Eq> Eq for Aligned<G>
[src]
impl<G: Ord> Ord for Aligned<G>
[src]
fn cmp(&self, other: &Aligned<G>) -> Ordering
[src]
#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<G: PartialEq> PartialEq<Aligned<G>> for Aligned<G>
[src]
impl<G: PartialOrd> PartialOrd<Aligned<G>> for Aligned<G>
[src]
fn partial_cmp(&self, other: &Aligned<G>) -> Option<Ordering>
[src]
fn lt(&self, other: &Aligned<G>) -> bool
[src]
fn le(&self, other: &Aligned<G>) -> bool
[src]
fn gt(&self, other: &Aligned<G>) -> bool
[src]
fn ge(&self, other: &Aligned<G>) -> bool
[src]
impl<G> StructuralEq for Aligned<G>
[src]
impl<G> StructuralPartialEq for Aligned<G>
[src]
Auto Trait Implementations
impl<G> RefUnwindSafe for Aligned<G> where
G: RefUnwindSafe,
G: RefUnwindSafe,
impl<G> Send for Aligned<G> where
G: Send,
G: Send,
impl<G> Sync for Aligned<G> where
G: Sync,
G: Sync,
impl<G> Unpin for Aligned<G> where
G: Unpin,
G: Unpin,
impl<G> UnwindSafe for Aligned<G> where
G: UnwindSafe,
G: UnwindSafe,
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>,