pub trait PanelGridExt: IsA<Grid> + 'static {
// Provided methods
fn add(&self, widget: &impl IsA<Widget>) { ... }
fn agree_to_close_async<P: FnOnce(Result<(), Error>) + 'static>(
&self,
cancellable: Option<&impl IsA<Cancellable>>,
callback: P,
) { ... }
fn agree_to_close_future(
&self,
) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>> { ... }
fn foreach_frame<P: FnMut(&Frame)>(&self, callback: P) { ... }
fn column(&self, column: u32) -> GridColumn { ... }
fn most_recent_column(&self) -> GridColumn { ... }
fn most_recent_frame(&self) -> Frame { ... }
fn n_columns(&self) -> u32 { ... }
fn insert_column(&self, position: u32) { ... }
fn connect_create_frame<F: Fn(&Self) -> Frame + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}Provided Methods§
fn add(&self, widget: &impl IsA<Widget>)
fn agree_to_close_async<P: FnOnce(Result<(), Error>) + 'static>( &self, cancellable: Option<&impl IsA<Cancellable>>, callback: P, )
fn agree_to_close_future( &self, ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
fn foreach_frame<P: FnMut(&Frame)>(&self, callback: P)
fn column(&self, column: u32) -> GridColumn
fn most_recent_column(&self) -> GridColumn
fn most_recent_frame(&self) -> Frame
fn n_columns(&self) -> u32
fn insert_column(&self, position: u32)
fn connect_create_frame<F: Fn(&Self) -> Frame + '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.