pub trait ServerCompositionSimpleTileBrushHooks: ServerCompositionSimpleBrushHooks {
Show 14 methods
// Provided methods
fn deserialize_changes_extra(&self, _reader: &mut BatchStreamReader<'_>) { ... }
fn on_fields_deserialized(
&self,
_changed: CompositionSimpleTileBrushChangedFields,
) { ... }
fn on_alignment_x_changed(&self) { ... }
fn on_alignment_x_changing(&self) { ... }
fn on_alignment_y_changed(&self) { ... }
fn on_alignment_y_changing(&self) { ... }
fn on_destination_rect_changed(&self) { ... }
fn on_destination_rect_changing(&self) { ... }
fn on_source_rect_changed(&self) { ... }
fn on_source_rect_changing(&self) { ... }
fn on_stretch_changed(&self) { ... }
fn on_stretch_changing(&self) { ... }
fn on_tile_mode_changed(&self) { ... }
fn on_tile_mode_changing(&self) { ... }
}Expand description
The partial methods of ServerCompositionSimpleTileBrush: implemented by the class that embeds
ServerCompositionSimpleTileBrushProps. Every hook defaults to doing nothing.
Provided Methods§
fn deserialize_changes_extra(&self, _reader: &mut BatchStreamReader<'_>)
fn on_fields_deserialized( &self, _changed: CompositionSimpleTileBrushChangedFields, )
fn on_alignment_x_changed(&self)
fn on_alignment_x_changing(&self)
fn on_alignment_y_changed(&self)
fn on_alignment_y_changing(&self)
fn on_destination_rect_changed(&self)
fn on_destination_rect_changing(&self)
fn on_source_rect_changed(&self)
fn on_source_rect_changing(&self)
fn on_stretch_changed(&self)
fn on_stretch_changing(&self)
fn on_tile_mode_changed(&self)
fn on_tile_mode_changing(&self)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".