pub struct SpeculativeCaptureEntry { /* private fields */ }Expand description
One architecture-selected tensor in an ordered target capture.
Implementations§
Source§impl SpeculativeCaptureEntry
impl SpeculativeCaptureEntry
Sourcepub fn new(
path: SpeculativeIdentity,
shape: Vec<usize>,
owner: SpeculativeIdentity,
observation: SpeculativeIdentity,
) -> Result<Self, SpeculativeContractError>
pub fn new( path: SpeculativeIdentity, shape: Vec<usize>, owner: SpeculativeIdentity, observation: SpeculativeIdentity, ) -> Result<Self, SpeculativeContractError>
Creates one exact capture entry.
Sourcepub fn with_bounded_dimension(
self,
dimension: usize,
) -> Result<Self, SpeculativeContractError>
pub fn with_bounded_dimension( self, dimension: usize, ) -> Result<Self, SpeculativeContractError>
Marks one dimension as request-sized up to its construction-time bound.
Sourcepub const fn path(&self) -> &SpeculativeIdentity
pub const fn path(&self) -> &SpeculativeIdentity
Returns the architecture observation path.
Sourcepub const fn bounded_dimensions(&self) -> &BTreeSet<usize>
pub const fn bounded_dimensions(&self) -> &BTreeSet<usize>
Returns dimensions whose exact positive extent is closed by the request.
Sourcepub const fn owner(&self) -> &SpeculativeIdentity
pub const fn owner(&self) -> &SpeculativeIdentity
Returns the rank or component that owns publication.
Sourcepub const fn observation(&self) -> &SpeculativeIdentity
pub const fn observation(&self) -> &SpeculativeIdentity
Returns the observation seam identity.
Trait Implementations§
Source§impl Clone for SpeculativeCaptureEntry
impl Clone for SpeculativeCaptureEntry
Source§fn clone(&self) -> SpeculativeCaptureEntry
fn clone(&self) -> SpeculativeCaptureEntry
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 moreSource§impl Debug for SpeculativeCaptureEntry
impl Debug for SpeculativeCaptureEntry
impl Eq for SpeculativeCaptureEntry
Source§impl PartialEq for SpeculativeCaptureEntry
impl PartialEq for SpeculativeCaptureEntry
impl StructuralPartialEq for SpeculativeCaptureEntry
Auto Trait Implementations§
impl Freeze for SpeculativeCaptureEntry
impl RefUnwindSafe for SpeculativeCaptureEntry
impl Send for SpeculativeCaptureEntry
impl Sync for SpeculativeCaptureEntry
impl Unpin for SpeculativeCaptureEntry
impl UnsafeUnpin for SpeculativeCaptureEntry
impl UnwindSafe for SpeculativeCaptureEntry
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