#[repr(C)]pub struct Vector<T> { /* private fields */ }
Available on crate feature
godot
only.Expand description
A contiguous vector of elements. This is not publicly exposed in Godot.
Implementations§
Source§impl<T: SizeInTargetProcess> Vector<T>
impl<T: SizeInTargetProcess> Vector<T>
Sourcepub fn unchecked_at(&self, index: u64) -> Ptr<T>
pub fn unchecked_at(&self, index: u64) -> Ptr<T>
Returns the pointer to the underlying data at the given index. This does not perform bounds checking.
Trait Implementations§
Source§impl<T> SizeInTargetProcess for Vector<T>
impl<T> SizeInTargetProcess for Vector<T>
impl<T> Copy for Vector<T>
impl<T: 'static> Pod for Vector<T>
Auto Trait Implementations§
impl<T> Freeze for Vector<T>
impl<T> RefUnwindSafe for Vector<T>
impl<T> Send for Vector<T>
impl<T> Sync for Vector<T>
impl<T> Unpin for Vector<T>
impl<T> UnwindSafe for Vector<T>
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.