#[non_exhaustive]pub struct EditInfo {
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: Range<usize>,
pub display_layer: Range<usize>,
pub select_range: Option<RangeInclusive<usize>>,
pub scene_id: i32,
}Available on crate feature
generic only.Expand description
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.width: usizeシーンの幅。
height: usizeシーンの高さ。
fps: Rational32フレームレート。
sample_rate: usizeサンプルレート。
frame: usize現在のカーソルのフレーム番号。
layer: usize現在の選択レイヤー番号。
frame_max: usizeオブジェクトが存在する最大のフレーム番号。
layer_max: usizeオブジェクトが存在する最大のレイヤー番号。
display_frame: Range<usize>§display_layer: Range<usize>§select_range: Option<RangeInclusive<usize>>フレーム範囲選択の開始フレーム番号・終了フレーム番号。
未選択の場合はNoneになります。
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 UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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