pub struct ProviderRepresentation {
pub element_type: ProviderElementType,
pub storage: ProviderStorage,
pub layout: ProviderLayout,
pub shape: Vec<u64>,
pub residency: ProviderResidency,
}Fields§
§element_type: ProviderElementType§storage: ProviderStorage§layout: ProviderLayout§shape: Vec<u64>§residency: ProviderResidencyImplementations§
Source§impl ProviderRepresentation
impl ProviderRepresentation
pub fn checked_element_count(&self) -> Option<u64>
pub fn checked_byte_len(&self) -> Option<u64>
Trait Implementations§
Source§impl Clone for ProviderRepresentation
impl Clone for ProviderRepresentation
Source§fn clone(&self) -> ProviderRepresentation
fn clone(&self) -> ProviderRepresentation
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 ProviderRepresentation
impl Debug for ProviderRepresentation
Source§impl<'de> Deserialize<'de> for ProviderRepresentation
impl<'de> Deserialize<'de> for ProviderRepresentation
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
impl Eq for ProviderRepresentation
Source§impl PartialEq for ProviderRepresentation
impl PartialEq for ProviderRepresentation
Source§impl Serialize for ProviderRepresentation
impl Serialize for ProviderRepresentation
impl StructuralPartialEq for ProviderRepresentation
Auto Trait Implementations§
impl Freeze for ProviderRepresentation
impl RefUnwindSafe for ProviderRepresentation
impl Send for ProviderRepresentation
impl Sync for ProviderRepresentation
impl Unpin for ProviderRepresentation
impl UnsafeUnpin for ProviderRepresentation
impl UnwindSafe for ProviderRepresentation
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