Struct cubecl_core::ir::ReadGlobal
source · pub struct ReadGlobal {
pub global: Variable,
pub out: Variable,
pub position: Variable,
}
Expand description
Read a global array.
Fields§
§global: Variable
The array to be read.
out: Variable
The output variable to write the result.
position: Variable
The reference position index.
Implementations§
Trait Implementations§
source§impl Clone for ReadGlobal
impl Clone for ReadGlobal
source§fn clone(&self) -> ReadGlobal
fn clone(&self) -> ReadGlobal
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReadGlobal
impl Debug for ReadGlobal
source§impl<'de> Deserialize<'de> for ReadGlobal
impl<'de> Deserialize<'de> for ReadGlobal
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ReadGlobal
impl PartialEq for ReadGlobal
source§impl Serialize for ReadGlobal
impl Serialize for ReadGlobal
impl StructuralPartialEq for ReadGlobal
Auto Trait Implementations§
impl Freeze for ReadGlobal
impl RefUnwindSafe for ReadGlobal
impl Send for ReadGlobal
impl Sync for ReadGlobal
impl Unpin for ReadGlobal
impl UnwindSafe for ReadGlobal
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)