Skip to main content

ServerSpotLightHooks

Trait ServerSpotLightHooks 

Source
pub trait ServerSpotLightHooks: ServerCompositionLightHooks {
    // Provided methods
    fn deserialize_changes_extra(&self, _reader: &mut BatchStreamReader<'_>) { ... }
    fn on_fields_deserialized(&self, _changed: SpotLightChangedFields) { ... }
    fn on_coordinate_space_changed(&self) { ... }
    fn on_coordinate_space_changing(&self) { ... }
}
Expand description

The partial methods of ServerSpotLight: implemented by the class that embeds ServerSpotLightProps. Every hook defaults to doing nothing.

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§