pub struct Bin(_, _);Trait Implementations
sourceimpl Ord for Bin
impl Ord for Bin
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl<T: ObjectType> PartialOrd<T> for Bin
impl<T: ObjectType> PartialOrd<T> for Bin
sourcefn partial_cmp(&self, other: &T) -> Option<Ordering>
fn partial_cmp(&self, other: &T) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresourceimpl StaticType for Bin
impl StaticType for Bin
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self.impl Eq for Bin
impl IsA<Bin> for AboutDialog
impl IsA<Bin> for ActionBar
impl IsA<Bin> for AppChooserButton
impl IsA<Bin> for AppChooserDialog
impl IsA<Bin> for ApplicationWindow
impl IsA<Bin> for AspectFrame
impl IsA<Bin> for Assistant
impl IsA<Bin> for Button
impl IsA<Bin> for CheckButton
impl IsA<Bin> for CheckMenuItem
impl IsA<Bin> for ColorButton
impl IsA<Bin> for ColorChooserDialog
impl IsA<Bin> for ComboBox
impl IsA<Bin> for ComboBoxText
impl IsA<Bin> for Dialog
impl IsA<Bin> for EventBox
impl IsA<Bin> for Expander
impl IsA<Bin> for FileChooserDialog
impl IsA<Bin> for FlowBoxChild
impl IsA<Bin> for FontButton
impl IsA<Bin> for FontChooserDialog
impl IsA<Bin> for Frame
impl IsA<Bin> for LinkButton
impl IsA<Bin> for ListBoxRow
impl IsA<Bin> for LockButton
impl IsA<Bin> for MenuButton
impl IsA<Bin> for MenuItem
impl IsA<Bin> for MenuToolButton
impl IsA<Bin> for MessageDialog
impl IsA<Bin> for ModelButton
impl IsA<Bin> for OffscreenWindow
impl IsA<Bin> for Overlay
impl IsA<Bin> for PlacesSidebar
impl IsA<Bin> for Plug
impl IsA<Bin> for Popover
impl IsA<Bin> for PopoverMenu
impl IsA<Bin> for RadioButton
impl IsA<Bin> for RadioMenuItem
impl IsA<Bin> for RadioToolButton
impl IsA<Bin> for RecentChooserDialog
impl IsA<Bin> for Revealer
impl IsA<Bin> for ScaleButton
impl IsA<Bin> for ScrolledWindow
impl IsA<Bin> for SearchBar
impl IsA<Bin> for SeparatorMenuItem
impl IsA<Bin> for SeparatorToolItem
impl IsA<Bin> for ShortcutsWindow
impl IsA<Bin> for StackSidebar
impl IsA<Bin> for ToggleButton
impl IsA<Bin> for ToggleToolButton
impl IsA<Bin> for ToolButton
impl IsA<Bin> for ToolItem
impl IsA<Bin> for Viewport
impl IsA<Bin> for VolumeButton
impl IsA<Bin> for Window
impl IsA<Buildable> for Bin
impl IsA<Container> for Bin
impl IsA<Widget> for Bin
Auto Trait Implementations
impl RefUnwindSafe for Bin
impl !Send for Bin
impl !Sync for Bin
impl Unpin for Bin
impl UnwindSafe for Bin
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Cast for Twhere
T: ObjectType,
impl<T> Cast for Twhere
T: ObjectType,
sourcefn 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 moresourcefn 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 moresourcefn 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 moresourcefn 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 moresourcefn 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 moresourcefn 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 moresourceunsafe fn unsafe_cast<T>(self) -> Twhere
T: ObjectType,
unsafe fn unsafe_cast<T>(self) -> Twhere
T: ObjectType,
Casts to
T unconditionally. Read moresourceunsafe fn unsafe_cast_ref<T>(&self) -> &Twhere
T: ObjectType,
unsafe fn unsafe_cast_ref<T>(&self) -> &Twhere
T: ObjectType,
Casts to
&T unconditionally. Read moresourceimpl<T> ObjectExt for Twhere
T: ObjectType,
impl<T> ObjectExt for Twhere
T: ObjectType,
sourcefn 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.