#[repr(C)]pub struct GenericParameterAttributes {
pub value: i32,
}Expand description
Fields§
§value: i32Implementations§
Source§impl GenericParameterAttributes
impl GenericParameterAttributes
pub fn none() -> Self
pub fn variance_mask() -> Self
pub fn covariant() -> Self
pub fn contravariant() -> Self
pub fn special_constraint_mask() -> Self
pub fn reference_type_constraint() -> Self
pub fn not_nullable_value_type_constraint() -> Self
pub fn default_constructor_constraint() -> Self
Trait Implementations§
Source§impl Clone for GenericParameterAttributes
impl Clone for GenericParameterAttributes
Source§fn clone(&self) -> GenericParameterAttributes
fn clone(&self) -> GenericParameterAttributes
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GenericParameterAttributes
impl Debug for GenericParameterAttributes
Source§impl PartialEq for GenericParameterAttributes
impl PartialEq for GenericParameterAttributes
impl Copy for GenericParameterAttributes
impl Eq for GenericParameterAttributes
impl StructuralPartialEq for GenericParameterAttributes
Auto Trait Implementations§
impl Freeze for GenericParameterAttributes
impl RefUnwindSafe for GenericParameterAttributes
impl Send for GenericParameterAttributes
impl Sync for GenericParameterAttributes
impl Unpin for GenericParameterAttributes
impl UnwindSafe for GenericParameterAttributes
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)