pub struct EditInfo {Show 18 fields
pub width: usize,
pub height: usize,
pub fps: Rational32,
pub sample_rate: usize,
pub frame: usize,
pub layer: usize,
pub frame_max: usize,
pub layer_max: usize,
pub display_frame_start: usize,
pub display_layer_start: usize,
pub display_frame_num: usize,
pub display_layer_num: usize,
pub select_range_start: Option<usize>,
pub select_range_end: Option<usize>,
pub grid_bpm_tempo: f32,
pub grid_bpm_beat: usize,
pub grid_bpm_offset: f32,
pub scene_id: i32,
}Available on crate feature
generic only.Expand description
Fields§
§width: usizeシーンの幅。
height: usizeシーンの高さ。
fps: Rational32フレームレート。
sample_rate: usizeサンプルレート。
frame: usize現在のカーソルのフレーム番号。
layer: usize現在の選択レイヤー番号。
frame_max: usizeオブジェクトが存在する最大のフレーム番号。
layer_max: usizeオブジェクトが存在する最大のレイヤー番号。
display_frame_start: usizeレイヤー編集で表示されているフレームの開始番号。
display_layer_start: usizeレイヤー編集で表示されているレイヤーの開始番号。
display_frame_num: usize§display_layer_num: usize§select_range_start: Option<usize>フレーム範囲選択の開始フレーム番号
未選択の場合はNoneになります。
select_range_end: Option<usize>フレーム範囲選択の終了フレーム番号。
未選択の場合はNoneになります。
grid_bpm_tempo: f32グリッド(BPM)のテンポ。
grid_bpm_beat: usizeグリッド(BPM)の拍数。
grid_bpm_offset: f32グリッド(BPM)の基準時間。
scene_id: i32シーンのID
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EditInfo
impl RefUnwindSafe for EditInfo
impl Send for EditInfo
impl Sync for EditInfo
impl Unpin for EditInfo
impl UnwindSafe for EditInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more