pub trait OrientableExt: IsA<Orientable> + 'static {
// Provided methods
fn orientation(&self) -> Orientation { ... }
fn set_orientation(&self, orientation: Orientation) { ... }
fn connect_orientation_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}Expand description
Trait containing all Orientable methods.
§Implementors
BoxLayout, Box, CellAreaBox, CellRendererProgress, CellView, CenterBox, FlowBox, GridView, Grid, LevelBar, ListBase, ListView, Orientable, Paned, ProgressBar, Range, ScaleButton, Scale, Scrollbar, Separator, ShortcutsGroup, ShortcutsSection, SpinButton, StackSwitcher, VolumeButton
Provided Methods§
Sourcefn orientation(&self) -> Orientation
fn orientation(&self) -> Orientation
Sourcefn set_orientation(&self, orientation: Orientation)
fn set_orientation(&self, orientation: Orientation)
fn connect_orientation_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.