#[repr(C)]pub struct ActivationDesc {
pub version: u32,
pub dtype: ActivationDType,
pub layout: ActivationLayout,
pub producer_stage_index: i32,
pub layer_start: i32,
pub layer_end: i32,
pub token_count: u32,
pub sequence_count: u32,
pub payload_bytes: u64,
pub flags: u64,
}Fields§
§version: u32§dtype: ActivationDType§layout: ActivationLayout§producer_stage_index: i32§layer_start: i32§layer_end: i32§token_count: u32§sequence_count: u32§payload_bytes: u64§flags: u64Trait Implementations§
Source§impl Clone for ActivationDesc
impl Clone for ActivationDesc
Source§fn clone(&self) -> ActivationDesc
fn clone(&self) -> ActivationDesc
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ActivationDesc
Auto Trait Implementations§
impl Freeze for ActivationDesc
impl RefUnwindSafe for ActivationDesc
impl Send for ActivationDesc
impl Sync for ActivationDesc
impl Unpin for ActivationDesc
impl UnsafeUnpin for ActivationDesc
impl UnwindSafe for ActivationDesc
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