pub struct NoOpObject(/* private fields */);
Implementations§
Source§impl NoOpObject
impl NoOpObject
Trait Implementations§
Source§impl Clone for NoOpObject
impl Clone for NoOpObject
Source§fn clone(&self) -> NoOpObject
fn clone(&self) -> NoOpObject
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NoOpObject
impl Debug for NoOpObject
Source§impl Display for NoOpObject
impl Display for NoOpObject
Source§impl Hash for NoOpObject
impl Hash for NoOpObject
Source§impl Ord for NoOpObject
impl Ord for NoOpObject
Source§fn cmp(&self, other: &NoOpObject) -> Ordering
fn cmp(&self, other: &NoOpObject) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: ObjectType> PartialEq<T> for NoOpObject
impl<T: ObjectType> PartialEq<T> for NoOpObject
Source§impl<T: ObjectType> PartialOrd<T> for NoOpObject
impl<T: ObjectType> PartialOrd<T> for NoOpObject
Source§impl StaticType for NoOpObject
impl StaticType for NoOpObject
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for NoOpObject
impl IsA<Action> for NoOpObject
impl IsA<Component> for NoOpObject
impl IsA<Document> for NoOpObject
impl IsA<EditableText> for NoOpObject
impl IsA<Hypertext> for NoOpObject
impl IsA<Image> for NoOpObject
impl IsA<Object> for NoOpObject
impl IsA<Selection> for NoOpObject
impl IsA<Table> for NoOpObject
impl IsA<TableCell> for NoOpObject
impl IsA<Text> for NoOpObject
impl IsA<Value> for NoOpObject
impl IsA<Window> for NoOpObject
Auto Trait Implementations§
impl Freeze for NoOpObject
impl RefUnwindSafe for NoOpObject
impl !Send for NoOpObject
impl !Sync for NoOpObject
impl Unpin for NoOpObject
impl UnwindSafe for NoOpObject
Blanket Implementations§
Source§impl<O> AtkActionExt for O
impl<O> AtkActionExt for O
fn do_action(&self, i: i32) -> bool
fn get_description(&self, i: i32) -> Option<GString>
fn get_keybinding(&self, i: i32) -> Option<GString>
fn get_localized_name(&self, i: i32) -> Option<GString>
fn get_n_actions(&self) -> i32
fn get_name(&self, i: i32) -> Option<GString>
fn set_description(&self, i: i32, desc: &str) -> bool
Source§impl<O> AtkImageExt for O
impl<O> AtkImageExt for O
Source§impl<O> AtkObjectExt for O
impl<O> AtkObjectExt for O
fn add_relationship<P>(&self, relationship: RelationType, target: &P) -> bool
fn get_description(&self) -> Option<GString>
fn get_index_in_parent(&self) -> i32
fn get_layer(&self) -> Layer
fn get_mdi_zorder(&self) -> i32
fn get_n_accessible_children(&self) -> i32
fn get_name(&self) -> Option<GString>
fn get_object_locale(&self) -> Option<GString>
fn get_parent(&self) -> Option<Object>
fn get_role(&self) -> Role
fn notify_state_change(&self, state: u64, value: bool)
fn peek_parent(&self) -> Option<Object>
fn ref_accessible_child(&self, i: i32) -> Option<Object>
fn ref_relation_set(&self) -> Option<RelationSet>
fn ref_state_set(&self) -> Option<StateSet>
fn remove_property_change_handler(&self, handler_id: u32)
fn remove_relationship<P>(&self, relationship: RelationType, target: &P) -> bool
fn set_description(&self, description: &str)
fn set_name(&self, name: &str)
fn set_parent<P>(&self, parent: &P)
fn set_role(&self, role: Role)
fn get_property_accessible_component_layer(&self) -> i32
fn get_property_accessible_component_mdi_zorder(&self) -> i32
fn get_property_accessible_description(&self) -> Option<GString>
fn set_property_accessible_description( &self, accessible_description: Option<&str>, )
fn get_property_accessible_hypertext_nlinks(&self) -> i32
fn get_property_accessible_name(&self) -> Option<GString>
fn set_property_accessible_name(&self, accessible_name: Option<&str>)
fn get_property_accessible_parent(&self) -> Option<Object>
fn set_property_accessible_parent(&self, accessible_parent: Option<&Object>)
fn get_property_accessible_role(&self) -> Role
fn set_property_accessible_role(&self, accessible_role: Role)
fn get_property_accessible_table_caption(&self) -> Option<GString>
fn set_property_accessible_table_caption( &self, accessible_table_caption: Option<&str>, )
fn get_property_accessible_table_caption_object(&self) -> Option<Object>
fn set_property_accessible_table_caption_object( &self, accessible_table_caption_object: Option<&Object>, )
fn get_property_accessible_table_column_description(&self) -> Option<GString>
fn set_property_accessible_table_column_description( &self, accessible_table_column_description: Option<&str>, )
fn get_property_accessible_table_column_header(&self) -> Option<Object>
fn set_property_accessible_table_column_header( &self, accessible_table_column_header: Option<&Object>, )
fn get_property_accessible_table_row_description(&self) -> Option<GString>
fn set_property_accessible_table_row_description( &self, accessible_table_row_description: Option<&str>, )
fn get_property_accessible_table_row_header(&self) -> Option<Object>
fn set_property_accessible_table_row_header( &self, accessible_table_row_header: Option<&Object>, )
fn get_property_accessible_table_summary(&self) -> Option<Object>
fn set_property_accessible_table_summary( &self, accessible_table_summary: Option<&Object>, )
fn get_property_accessible_value(&self) -> f64
fn set_property_accessible_value(&self, accessible_value: f64)
fn connect_active_descendant_changed<F>(&self, f: F) -> SignalHandlerId
fn connect_children_changed<F>(&self, f: F) -> SignalHandlerId
fn connect_state_change<F>(&self, f: F) -> SignalHandlerId
fn connect_visible_data_changed<F>(&self, f: F) -> SignalHandlerId
fn connect_property_accessible_component_layer_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_accessible_component_mdi_zorder_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_accessible_description_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_accessible_hypertext_nlinks_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_accessible_name_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_accessible_parent_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_accessible_role_notify<F>(&self, f: F) -> SignalHandlerId
fn connect_property_accessible_table_caption_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_accessible_table_caption_object_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_accessible_table_column_description_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_accessible_table_column_header_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_accessible_table_row_description_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_accessible_table_row_header_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_accessible_table_summary_notify<F>( &self, f: F, ) -> SignalHandlerId
fn connect_property_accessible_value_notify<F>(&self, f: F) -> SignalHandlerId
Source§impl<O> AtkWindowExt for O
impl<O> AtkWindowExt for O
fn connect_activate<F>(&self, f: F) -> SignalHandlerId
fn connect_create<F>(&self, f: F) -> SignalHandlerId
fn connect_deactivate<F>(&self, f: F) -> SignalHandlerId
fn connect_destroy<F>(&self, f: F) -> SignalHandlerId
fn connect_maximize<F>(&self, f: F) -> SignalHandlerId
fn connect_minimize<F>(&self, f: F) -> SignalHandlerId
fn connect_move<F>(&self, f: F) -> SignalHandlerId
fn connect_resize<F>(&self, f: F) -> SignalHandlerId
fn connect_restore<F>(&self, f: F) -> SignalHandlerId
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> Cast for Twhere
T: ObjectType,
impl<T> Cast for Twhere
T: ObjectType,
Source§fn upcast<T>(self) -> Twhere
T: ObjectType,
Self: IsA<T>,
fn upcast<T>(self) -> Twhere
T: ObjectType,
Self: IsA<T>,
Upcasts an object to a superclass or interface
T
. Read moreSource§fn upcast_ref<T>(&self) -> &Twhere
T: ObjectType,
Self: IsA<T>,
fn upcast_ref<T>(&self) -> &Twhere
T: ObjectType,
Self: IsA<T>,
Upcasts an object to a reference of its superclass or interface
T
. Read moreSource§fn downcast<T>(self) -> Result<T, Self>where
T: ObjectType,
Self: CanDowncast<T>,
fn downcast<T>(self) -> Result<T, Self>where
T: ObjectType,
Self: CanDowncast<T>,
Tries to downcast to a subclass or interface implementor
T
. Read moreSource§fn downcast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
Self: CanDowncast<T>,
fn downcast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
Self: CanDowncast<T>,
Tries to downcast to a reference of its subclass or interface implementor
T
. Read moreSource§fn dynamic_cast<T>(self) -> Result<T, Self>where
T: ObjectType,
fn dynamic_cast<T>(self) -> Result<T, Self>where
T: ObjectType,
Tries to cast to an object of type
T
. This handles upcasting, downcasting
and casting between interface and interface implementors. All checks are performed at
runtime, while downcast
and upcast
will do many checks at compile-time already. Read moreSource§fn dynamic_cast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
fn dynamic_cast_ref<T>(&self) -> Option<&T>where
T: ObjectType,
Tries to cast to reference to an object of type
T
. This handles upcasting, downcasting
and casting between interface and interface implementors. All checks are performed at
runtime, while downcast
and upcast
will do many checks at compile-time already. Read moreSource§unsafe fn unsafe_cast<T>(self) -> Twhere
T: ObjectType,
unsafe fn unsafe_cast<T>(self) -> Twhere
T: ObjectType,
Casts to
T
unconditionally. Read moreSource§unsafe fn unsafe_cast_ref<T>(&self) -> &Twhere
T: ObjectType,
unsafe fn unsafe_cast_ref<T>(&self) -> &Twhere
T: ObjectType,
Casts to
&T
unconditionally. Read moreSource§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<O> ComponentExt for O
impl<O> ComponentExt for O
fn contains(&self, x: i32, y: i32, coord_type: CoordType) -> bool
fn get_alpha(&self) -> f64
fn get_extents(&self, coord_type: CoordType) -> (i32, i32, i32, i32)
fn get_layer(&self) -> Layer
fn get_mdi_zorder(&self) -> i32
fn get_position(&self, coord_type: CoordType) -> (i32, i32)
fn get_size(&self) -> (i32, i32)
fn grab_focus(&self) -> bool
fn ref_accessible_at_point( &self, x: i32, y: i32, coord_type: CoordType, ) -> Option<Object>
fn set_extents( &self, x: i32, y: i32, width: i32, height: i32, coord_type: CoordType, ) -> bool
fn set_position(&self, x: i32, y: i32, coord_type: CoordType) -> bool
fn set_size(&self, width: i32, height: i32) -> bool
fn connect_bounds_changed<F>(&self, f: F) -> SignalHandlerId
Source§impl<O> DocumentExt for O
impl<O> DocumentExt for O
fn get_attribute_value(&self, attribute_name: &str) -> Option<GString>
fn get_current_page_number(&self) -> i32
fn get_document_type(&self) -> Option<GString>
fn get_page_count(&self) -> i32
fn set_attribute_value( &self, attribute_name: &str, attribute_value: &str, ) -> bool
fn connect_load_complete<F>(&self, f: F) -> SignalHandlerId
fn connect_load_stopped<F>(&self, f: F) -> SignalHandlerId
fn connect_page_changed<F>(&self, f: F) -> SignalHandlerId
fn connect_reload<F>(&self, f: F) -> SignalHandlerId
Source§impl<O> EditableTextExt for Owhere
O: IsA<EditableText>,
impl<O> EditableTextExt for Owhere
O: IsA<EditableText>,
Source§impl<O> EditableTextExtManual for Owhere
O: IsA<EditableText>,
impl<O> EditableTextExtManual for Owhere
O: IsA<EditableText>,
Source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
Source§impl<O> HypertextExt for O
impl<O> HypertextExt for O
Source§impl<T> ObjectExt for Twhere
T: ObjectType,
impl<T> ObjectExt for Twhere
T: ObjectType,
Source§fn is<U>(&self) -> boolwhere
U: StaticType,
fn is<U>(&self) -> boolwhere
U: StaticType,
Returns
true
if the object is an instance of (can be cast to) T
.