Struct metatensor::c_api::mts_sample_mapping_t
source · #[repr(C)]pub struct mts_sample_mapping_t {
pub input: usize,
pub output: usize,
}
Fields§
§input: usize
§output: usize
Trait Implementations§
source§impl Clone for mts_sample_mapping_t
impl Clone for mts_sample_mapping_t
source§fn clone(&self) -> mts_sample_mapping_t
fn clone(&self) -> mts_sample_mapping_t
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 mts_sample_mapping_t
impl Debug for mts_sample_mapping_t
impl Copy for mts_sample_mapping_t
Auto Trait Implementations§
impl RefUnwindSafe for mts_sample_mapping_t
impl Send for mts_sample_mapping_t
impl Sync for mts_sample_mapping_t
impl Unpin for mts_sample_mapping_t
impl UnwindSafe for mts_sample_mapping_t
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