Struct hapi_rs::attribute::AttributeInfo
source · [−]pub struct AttributeInfo { /* private fields */ }
Implementations
sourceimpl AttributeInfo
impl AttributeInfo
pub fn exists(&self) -> bool
pub fn original_owner(&self) -> AttributeOwner
pub fn total_array_elements(&self) -> i64
pub fn owner(&self) -> AttributeOwner
pub fn set_owner(&mut self, val: AttributeOwner)
pub fn with_owner(self, val: AttributeOwner) -> Self
pub fn storage(&self) -> StorageType
pub fn set_storage(&mut self, val: StorageType)
pub fn with_storage(self, val: StorageType) -> Self
pub fn tuple_size(&self) -> i32
pub fn set_tuple_size(&mut self, val: i32)
pub fn with_tuple_size(self, val: i32) -> Self
pub fn type_info(&self) -> AttributeTypeInfo
pub fn set_type_info(&mut self, val: AttributeTypeInfo)
pub fn with_type_info(self, val: AttributeTypeInfo) -> Self
pub fn count(&self) -> i32
pub fn set_count(&mut self, val: i32)
pub fn with_count(self, val: i32) -> Self
pub fn ptr(&self) -> *const HAPI_AttributeInfo
Trait Implementations
sourceimpl Clone for AttributeInfo
impl Clone for AttributeInfo
sourcefn clone(&self) -> AttributeInfo
fn clone(&self) -> AttributeInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AttributeInfo
impl Debug for AttributeInfo
Auto Trait Implementations
impl RefUnwindSafe for AttributeInfo
impl Send for AttributeInfo
impl Sync for AttributeInfo
impl Unpin for AttributeInfo
impl UnwindSafe for AttributeInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more