pub struct FnConstValues(/* private fields */);Implementations§
Source§impl FnConstValues
impl FnConstValues
Source§impl FnConstValues
impl FnConstValues
pub fn reset(&mut self)
pub fn set_value_at( &mut self, val: *const c_void, type_: DType, at_index: UInteger, )
pub fn set_bool_at(&mut self, val: bool, at_index: usize)
pub fn set_u8_at(&mut self, val: u8, at_index: usize)
pub fn set_u16_at(&mut self, val: u16, at_index: usize)
pub fn set_u16x2_at(&mut self, val: &[u16; 2], at_index: usize)
pub fn set_values( &mut self, values: *const c_void, type_: DType, with_range: Range, )
pub fn set_value_with_name( &mut self, val: *const c_void, type_: DType, name: &String, )
Methods from Deref<Target = Id>§
pub unsafe fn value_for_key_throws_ar(&self, key: &String) -> Option<Rar<Self>>
pub unsafe fn value_for_key_throws(&self, key: &String) -> Option<R<Self>>
pub fn value_for_key<'ear>( &self, key: &String, ) -> ExResult<'ear, Option<R<Self>>>
pub unsafe fn set_value_for_key_throws( &mut self, val: Option<&Self>, key: &String, )
pub fn set_value_for_key<'ear>( &mut self, val: Option<&Self>, key: &String, ) -> ExResult<'ear>
pub unsafe fn value_for_key_path_throws_ar( &self, key_path: &String, ) -> Option<Rar<Self>>
pub unsafe fn value_for_key_path_throws( &self, key_path: &String, ) -> Option<R<Self>>
pub fn value_for_key_path<'ear>( &self, key_path: &String, ) -> ExResult<'ear, Option<R<Self>>>
pub unsafe fn set_value_for_key_path_throws( &mut self, val: Option<&Self>, key_path: &String, )
pub fn set_value_for_key_path<'ear>( &mut self, val: Option<&Self>, key_path: &String, ) -> ExResult<'ear>
pub fn as_type_ref(&self) -> &Type
pub fn as_id_ref(&self) -> &Self
pub fn is_equal(&self, other: &Self) -> bool
pub fn hash(&self) -> UInteger
pub fn as_ptr(&self) -> *const Self
Trait Implementations§
Source§impl AsRef<Id> for FnConstValues
impl AsRef<Id> for FnConstValues
Source§impl Debug for FnConstValues
impl Debug for FnConstValues
Source§impl Deref for FnConstValues
impl Deref for FnConstValues
Source§impl DerefMut for FnConstValues
impl DerefMut for FnConstValues
Source§impl Obj for FnConstValues
impl Obj for FnConstValues
unsafe fn retain(id: &Self) -> R<Self>
unsafe fn release(id: &mut Self)
fn desc_ar(&self) -> Rar<String>
fn desc(&self) -> R<String>
fn debug_desc_ar(&self) -> Rar<String>
fn debug_desc(&self) -> R<String>
fn responds_to_sel(&self, sel: &Sel) -> bool
fn class(&self) -> &Class<Self>
fn is_kind_of_class<T: Obj>(&self, cls: &Class<T>) -> bool
fn try_cast<T: Obj>(&self, cls: &Class<T>) -> Option<&T>
fn try_cast_mut<T: Obj>(&mut self, cls: &Class<T>) -> Option<&mut T>
fn is_member_of_class<T: Obj>(&self, cls: &Class<T>) -> bool
fn is_tagged_ptr(&self) -> bool
fn as_id_ref(&self) -> &Id
Source§impl PartialEq for FnConstValues
impl PartialEq for FnConstValues
Source§fn eq(&self, other: &FnConstValues) -> bool
fn eq(&self, other: &FnConstValues) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialEq<Retained<FnConstValues>> for FnConstValues
impl PartialEq<Retained<FnConstValues>> for FnConstValues
impl StructuralPartialEq for FnConstValues
Auto Trait Implementations§
impl !Sync for FnConstValues
impl Freeze for FnConstValues
impl RefUnwindSafe for FnConstValues
impl Send for FnConstValues
impl Unpin for FnConstValues
impl UnsafeUnpin for FnConstValues
impl UnwindSafe for FnConstValues
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