pub unsafe trait WidgetClassSubclassExt: ClassStruct {
// Provided methods
fn set_template_bytes(&mut self, template: &Bytes) { ... }
fn set_template(&mut self, template: &[u8]) { ... }
fn set_template_static(&mut self, template: &'static [u8]) { ... }
fn set_template_from_resource(&mut self, resource_name: &str) { ... }
fn bind_template_child(&mut self, name: &str) { ... }
unsafe fn bind_template_child_with_offset<T>(
&mut self,
name: &str,
offset: FieldOffset<Self::Type, TemplateChild<T>>,
)
where T: ObjectType + FromGlibPtrNone<*mut <T as ObjectType>::GlibType> { ... }
fn set_css_name(&mut self, name: &str) { ... }
fn css_name(&self) -> GString { ... }
}Provided Methods§
fn set_template_bytes(&mut self, template: &Bytes)
fn set_template(&mut self, template: &[u8])
fn set_template_static(&mut self, template: &'static [u8])
fn set_template_from_resource(&mut self, resource_name: &str)
fn bind_template_child(&mut self, name: &str)
unsafe fn bind_template_child_with_offset<T>( &mut self, name: &str, offset: FieldOffset<Self::Type, TemplateChild<T>>, )
fn set_css_name(&mut self, name: &str)
fn css_name(&self) -> GString
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".