docs, formatting

This commit is contained in:
Vinzenz Schroeter 2024-06-23 13:00:13 +02:00
parent c4c6708533
commit 672b5e0581
5 changed files with 89 additions and 37 deletions

View file

@ -91,7 +91,12 @@ pub unsafe extern "C" fn sp_command_fade_out() -> *mut Command {
Box::into_raw(Box::new(Command::FadeOut))
}
/// Allocates a new `Command::Brightness` instance.
/// Allocates a new `Command::Brightness` instance for setting the brightness of all tiles to the
/// same value.
///
/// # Panics
///
/// - When the provided brightness value is out of range (0-11).
///
/// # Safety
///