Trait sourceview5::prelude::CellAreaExtManual
source · pub trait CellAreaExtManual: Sealed + IsA<CellArea> {
// Provided methods
fn add_with_properties(
&self,
renderer: &impl IsA<CellRenderer>,
properties: &[(&str, &dyn ToValue)],
) { ... }
fn cell_get_value(
&self,
renderer: &impl IsA<CellRenderer>,
property_name: impl IntoGStr,
) -> Value { ... }
fn cell_get<V>(
&self,
renderer: &impl IsA<CellRenderer>,
property_name: impl IntoGStr,
) -> V
where V: for<'b> FromValue<'b> + 'static { ... }
fn cell_set(
&self,
renderer: &impl IsA<CellRenderer>,
property_name: impl IntoGStr,
value: impl Into<Value>,
) { ... }
}
👎Deprecated: Since 4.10
Expand description
Trait containing manually implemented methods of
CellArea
.
Provided Methods§
fn add_with_properties( &self, renderer: &impl IsA<CellRenderer>, properties: &[(&str, &dyn ToValue)], )
👎Deprecated: Since 4.10
fn cell_get_value( &self, renderer: &impl IsA<CellRenderer>, property_name: impl IntoGStr, ) -> Value
👎Deprecated: Since 4.10
sourcefn cell_get<V>(
&self,
renderer: &impl IsA<CellRenderer>,
property_name: impl IntoGStr,
) -> Vwhere
V: for<'b> FromValue<'b> + 'static,
👎Deprecated: Since 4.10
fn cell_get<V>(
&self,
renderer: &impl IsA<CellRenderer>,
property_name: impl IntoGStr,
) -> Vwhere
V: for<'b> FromValue<'b> + 'static,
Similar to Self::cell_get_value
but panics if the value is of a
different type.
fn cell_set( &self, renderer: &impl IsA<CellRenderer>, property_name: impl IntoGStr, value: impl Into<Value>, )
👎Deprecated: Since 4.10
Object Safety§
This trait is not object safe.