pub struct Parameter { /* private fields */ }
Implementations§
Source§impl Parameter
impl Parameter
pub fn name(&self) -> &str
pub fn is_nullable(&self) -> Option<bool>
pub fn is_allow_none(&self) -> Option<bool>
pub fn is_introspectable(&self) -> bool
pub fn scope(&self) -> Option<FunctionScope>
pub fn closure(&self) -> Option<usize>
pub fn destroy(&self) -> Option<usize>
pub fn direction(&self) -> Option<Direction>
pub fn is_caller_allocates(&self) -> Option<bool>
pub fn is_optional(&self) -> Option<bool>
pub fn is_skip(&self) -> Option<bool>
pub fn transfer_ownership(&self) -> Option<TransferOwnership>
pub fn ty(&self) -> Option<&ParameterType>
Trait Implementations§
Source§impl Attributable for Parameter
impl Attributable for Parameter
fn attributes(&self) -> &[Attribute]
fn element_type(&self) -> Option<&str>
fn gtk_property_get(&self) -> Option<&str>
fn gtk_method_get_property(&self) -> Option<&str>
fn gtk_property_set(&self) -> Option<&str>
fn gtk_method_set_property(&self) -> Option<&str>
Source§impl Documentable for Parameter
impl Documentable for Parameter
fn doc(&self) -> Option<&Documentation>
fn doc_deprecated(&self) -> Option<&DocDeprecated>
fn doc_stability(&self) -> Option<&DocStability>
fn doc_version(&self) -> Option<&DocVersion>
fn source_position(&self) -> Option<&SourcePosition>
Auto Trait Implementations§
impl Freeze for Parameter
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)