[−][src]Struct weld::data::WeldVec
A dynamically sized constant vector.
Vectors are always defined as a pointer and a length.
Fields
data: *const T
len: i64
Methods
impl<T> WeldVec<T>
[src]
pub fn new(ptr: *const T, len: i64) -> WeldVec<T>
[src]
Return a new WeldVec from a pointer and a length.
Consider using WeldVec::from
instead, which automatically derives the length.
Trait Implementations
impl<T: Clone> Clone for WeldVec<T>
[src]
impl<T: Debug> Debug for WeldVec<T>
[src]
impl<T> Display for WeldVec<T> where
T: Display + Clone,
[src]
T: Display + Clone,
impl<'a, T, U> From<&'a U> for WeldVec<T> where
U: AsRef<[T]>,
[src]
U: AsRef<[T]>,
impl<T> PartialEq<WeldVec<T>> for WeldVec<T> where
T: PartialEq + Clone,
[src]
T: PartialEq + Clone,
fn eq(&self, other: &WeldVec<T>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T> Send for WeldVec<T>
[src]
impl<T> Sync for WeldVec<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for WeldVec<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Unpin for WeldVec<T>
impl<T> UnwindSafe for WeldVec<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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,