pub struct ParameterLayout { /* private fields */ }Expand description
Host representation of one CUDA parameter, in declaration order.
Implementations§
Source§impl ParameterLayout
impl ParameterLayout
Sourcepub const fn value<T: NoUninitDeviceRepr>() -> Self
pub const fn value<T: NoUninitDeviceRepr>() -> Self
Describes a by-value parameter with initialized representation bytes.
Sourcepub const fn pointer(access: ParameterAccess) -> Self
pub const fn pointer(access: ParameterAccess) -> Self
Describes a CUDA device pointer and its declared memory access.
Sourcepub const fn access(self) -> ParameterAccess
pub const fn access(self) -> ParameterAccess
Returns the declared access to storage addressed by this parameter.
Trait Implementations§
Source§impl Clone for ParameterLayout
impl Clone for ParameterLayout
impl Copy for ParameterLayout
Source§impl Debug for ParameterLayout
impl Debug for ParameterLayout
impl Eq for ParameterLayout
Source§impl PartialEq for ParameterLayout
impl PartialEq for ParameterLayout
impl StructuralPartialEq for ParameterLayout
Auto Trait Implementations§
impl Forget for ParameterLayout
impl Freeze for ParameterLayout
impl Move for ParameterLayout
impl RefUnwindSafe for ParameterLayout
impl Send for ParameterLayout
impl Sync for ParameterLayout
impl Unpin for ParameterLayout
impl UnsafeUnpin for ParameterLayout
impl UnwindSafe for ParameterLayout
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.