OBJECT_INFO

Struct OBJECT_INFO 

Source
#[repr(C)]
pub struct OBJECT_INFO { pub id: i64, pub frame: i32, pub frame_total: i32, pub time: f64, pub time_total: f64, pub width: i32, pub height: i32, pub sample_index: i64, pub sample_total: i64, pub sample_num: i32, pub channel_num: i32, pub effect_id: i64, }
Expand description

オブジェクト情報構造体

Fields§

§id: i64

オブジェクトのID (アプリ起動毎の固有ID)

§frame: i32

オブジェクトの現在のフレーム番号

§frame_total: i32

オブジェクトの総フレーム数

§time: f64

オブジェクトの現在の時間(秒)

§time_total: f64

オブジェクトの総時間(秒)

§width: i32

オブジェクトの現在の画像サイズの幅 (画像フィルタのみ)

§height: i32

オブジェクトの現在の画像サイズの高さ (画像フィルタのみ)

§sample_index: i64

オブジェクトの現在の音声サンプル位置 (音声フィルタのみ)

§sample_total: i64

オブジェクトの総サンプル数 (音声フィルタのみ)

§sample_num: i32

オブジェクトの現在の音声サンプル数 (音声フィルタのみ)

§channel_num: i32

オブジェクトの現在の音声チャンネル数 (音声フィルタのみ) ※通常2になります

§effect_id: i64

オブジェクトの内の対象エフェクトのID (アプリ起動毎の固有ID) ※処理対象のフィルタ効果、オブジェクト入出力の固有ID

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.