pub struct Index {}Implementations§
Source§impl Index
impl Index
Sourcepub fn new() -> Index
pub fn new() -> Index
Creates a new dynamic index label, where the size of the index is not known at compile time, and is instead determined at runtime, typically from reading a file containing a representation of a tensor
Sourcepub fn with_value(_value: usize) -> Index
pub fn with_value(_value: usize) -> Index
Creates a new static index label, where the size of the index is known at compile time
Auto Trait Implementations§
impl Freeze for Index
impl RefUnwindSafe for Index
impl Send for Index
impl Sync for Index
impl Unpin for Index
impl UnwindSafe for Index
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