pub struct ObsTransformInfo(/* private fields */);Expand description
Use ObsTransformInfoBuilder to create an instance of this struct.
Implementations§
Source§impl ObsTransformInfo
impl ObsTransformInfo
pub fn get_pos(&self) -> Vec2
pub fn get_scale(&self) -> Vec2
pub fn get_alignment(&self) -> u32
pub fn get_rot(&self) -> f32
pub fn get_bounds(&self) -> Vec2
pub fn get_bounds_type(&self) -> ObsBoundsType
pub fn get_bounds_alignment(&self) -> u32
pub fn get_crop_to_bounds(&self) -> bool
Trait Implementations§
Source§impl Clone for ObsTransformInfo
impl Clone for ObsTransformInfo
Auto Trait Implementations§
impl Freeze for ObsTransformInfo
impl RefUnwindSafe for ObsTransformInfo
impl Send for ObsTransformInfo
impl Sync for ObsTransformInfo
impl Unpin for ObsTransformInfo
impl UnwindSafe for ObsTransformInfo
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