pub struct Property { /* private fields */ }
Implementations§
Source§impl Property
impl Property
pub fn name(&self) -> &str
pub fn is_readable(&self) -> bool
pub fn is_writable(&self) -> bool
pub fn is_construct(&self) -> bool
pub fn is_construct_only(&self) -> bool
pub fn transfer_ownership(&self) -> TransferOwnership
pub fn getter(&self) -> Option<&str>
pub fn setter(&self) -> Option<&str>
pub fn default_value(&self) -> Option<&str>
pub fn ty(&self) -> &AnyType
Trait Implementations§
Source§impl Attributable for Property
impl Attributable for Property
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 Property
impl Documentable for Property
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 Property
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnwindSafe for Property
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
)