#[repr(C)]pub struct obs_transform_info {
pub pos: vec2,
pub rot: f32,
pub scale: vec2,
pub alignment: u32,
pub bounds_type: obs_bounds_type,
pub bounds_alignment: u32,
pub bounds: vec2,
pub crop_to_bounds: bool,
}
Fields§
§pos: vec2
§rot: f32
§scale: vec2
§alignment: u32
§bounds_type: obs_bounds_type
§bounds_alignment: u32
§bounds: vec2
§crop_to_bounds: bool
Trait Implementations§
Source§impl Clone for obs_transform_info
impl Clone for obs_transform_info
Source§fn clone(&self) -> obs_transform_info
fn clone(&self) -> obs_transform_info
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for obs_transform_info
Auto Trait Implementations§
impl Freeze for obs_transform_info
impl RefUnwindSafe for obs_transform_info
impl Send for obs_transform_info
impl Sync for obs_transform_info
impl Unpin for obs_transform_info
impl UnwindSafe for obs_transform_info
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