pub trait CellLayoutImpl: ObjectImpl + ObjectSubclass<Type: IsA<CellLayout>> {
// Provided methods
fn add_attribute<R: IsA<CellRenderer>>(
&self,
cell: &R,
attribute: &str,
column: i32,
) { ... }
fn clear_attributes<R: IsA<CellRenderer>>(&self, cell: &R) { ... }
fn cells(&self) -> Vec<CellRenderer> { ... }
fn set_cell_data_func<R: IsA<CellRenderer>>(
&self,
cell: &R,
callback: Option<CellLayoutDataCallback>,
) { ... }
fn reorder<R: IsA<CellRenderer>>(&self, cell: &R, position: i32) { ... }
fn clear(&self) { ... }
fn pack_start<R: IsA<CellRenderer>>(&self, cell: &R, expand: bool) { ... }
fn pack_end<R: IsA<CellRenderer>>(&self, cell: &R, expand: bool) { ... }
fn area(&self) -> Option<CellArea> { ... }
}
๐Deprecated: Since 4.10
Provided Methodsยง
fn add_attribute<R: IsA<CellRenderer>>( &self, cell: &R, attribute: &str, column: i32, )
๐Deprecated: Since 4.10
fn clear_attributes<R: IsA<CellRenderer>>(&self, cell: &R)
๐Deprecated: Since 4.10
fn cells(&self) -> Vec<CellRenderer>
๐Deprecated: Since 4.10
fn set_cell_data_func<R: IsA<CellRenderer>>( &self, cell: &R, callback: Option<CellLayoutDataCallback>, )
๐Deprecated: Since 4.10
fn reorder<R: IsA<CellRenderer>>(&self, cell: &R, position: i32)
๐Deprecated: Since 4.10
fn clear(&self)
๐Deprecated: Since 4.10
fn pack_start<R: IsA<CellRenderer>>(&self, cell: &R, expand: bool)
๐Deprecated: Since 4.10
fn pack_end<R: IsA<CellRenderer>>(&self, cell: &R, expand: bool)
๐Deprecated: Since 4.10
fn area(&self) -> Option<CellArea>
๐Deprecated: Since 4.10
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.