remove _ from type names in function names
This commit is contained in:
parent
500cbbc872
commit
8f13ba61f0
9 changed files with 311 additions and 311 deletions
|
@ -8,13 +8,13 @@ use std::ptr::NonNull;
|
|||
|
||||
wrap_command!(BrightnessGrid);
|
||||
|
||||
wrap_fields!(cmd_brightness_grid::BrightnessGridCommand;
|
||||
wrap_fields!(cmd_brightnessgrid::BrightnessGridCommand;
|
||||
prop grid: BrightnessGrid { mut get(); move set(grid); };
|
||||
);
|
||||
|
||||
wrap_origin_accessors!(cmd_brightness_grid::BrightnessGridCommand);
|
||||
wrap_origin_accessors!(cmd_brightnessgrid::BrightnessGridCommand);
|
||||
|
||||
wrap_functions!(cmd_brightness_grid;
|
||||
wrap_functions!(cmd_brightnessgrid;
|
||||
|
||||
/// Set the brightness of individual tiles in a rectangular area of the display.
|
||||
///
|
||||
|
|
|
@ -8,13 +8,13 @@ use std::ptr::NonNull;
|
|||
|
||||
wrap_command!(CharGrid);
|
||||
|
||||
wrap_fields!(cmd_char_grid::CharGridCommand;
|
||||
wrap_fields!(cmd_chargrid::CharGridCommand;
|
||||
prop grid: CharGrid { mut get(); move set(grid); };
|
||||
);
|
||||
|
||||
wrap_origin_accessors!(cmd_char_grid::CharGridCommand);
|
||||
wrap_origin_accessors!(cmd_chargrid::CharGridCommand);
|
||||
|
||||
wrap_functions!(cmd_char_grid;
|
||||
wrap_functions!(cmd_chargrid;
|
||||
|
||||
/// Show UTF-8 encoded text on the screen.
|
||||
///
|
||||
|
|
|
@ -8,13 +8,13 @@ use std::ptr::NonNull;
|
|||
|
||||
wrap_command!(Cp437Grid);
|
||||
|
||||
wrap_fields!(cmd_cp437_grid::Cp437GridCommand;
|
||||
wrap_fields!(cmd_cp437grid::Cp437GridCommand;
|
||||
prop grid: Cp437Grid { mut get(); move set(grid); };
|
||||
);
|
||||
|
||||
wrap_origin_accessors!(cmd_cp437_grid::Cp437GridCommand);
|
||||
wrap_origin_accessors!(cmd_cp437grid::Cp437GridCommand);
|
||||
|
||||
wrap_functions!(cmd_cp437_grid;
|
||||
wrap_functions!(cmd_cp437grid;
|
||||
|
||||
/// Show text on the screen.
|
||||
///
|
||||
|
|
|
@ -6,7 +6,7 @@ use crate::{
|
|||
use servicepoint::{Brightness, GlobalBrightnessCommand, Packet};
|
||||
use std::ptr::NonNull;
|
||||
|
||||
wrap_functions!(cmd_brightness_global;
|
||||
wrap_functions!(cmd_globalbrightness;
|
||||
|
||||
/// Set the brightness of all tiles to the same value.
|
||||
///
|
||||
|
@ -25,7 +25,7 @@ wrap_functions!(cmd_brightness_global;
|
|||
wrap_command!(GlobalBrightness);
|
||||
|
||||
wrap_fields!(
|
||||
cmd_brightness_global::GlobalBrightnessCommand;
|
||||
cmd_globalbrightness::GlobalBrightnessCommand;
|
||||
prop brightness: Brightness {
|
||||
get();
|
||||
set(value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue