pub struct VideoObjectInfo {
pub width: u32,
pub height: u32,
pub index: u32,
pub num: Option<u32>,
}Available on crate feature
filter only.Expand description
画像フィルタのオブジェクト情報。
Fields§
§width: u32オブジェクトの現在の画像サイズの幅。
height: u32オブジェクトの現在の画像サイズの高さ。
index: u32複数オブジェクト時の現在の対象番号
num: Option<u32>複数オブジェクト時の対象数(None:不定、Some(1):単体)
Trait Implementations§
Source§impl Clone for VideoObjectInfo
impl Clone for VideoObjectInfo
Source§fn clone(&self) -> VideoObjectInfo
fn clone(&self) -> VideoObjectInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VideoObjectInfo
Auto Trait Implementations§
impl Freeze for VideoObjectInfo
impl RefUnwindSafe for VideoObjectInfo
impl Send for VideoObjectInfo
impl Sync for VideoObjectInfo
impl Unpin for VideoObjectInfo
impl UnsafeUnpin for VideoObjectInfo
impl UnwindSafe for VideoObjectInfo
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