pub struct VideoLayer {
pub rect: VideoRect,
pub z_index: i32,
pub opacity: f32,
pub visible: bool,
pub fit: VideoFit,
}Expand description
Runtime-adjustable spatial settings for one compositor input.
Fields§
§rect: VideoRect§z_index: i32§opacity: f32§visible: bool§fit: VideoFitImplementations§
Trait Implementations§
Source§impl Clone for VideoLayer
impl Clone for VideoLayer
Source§fn clone(&self) -> VideoLayer
fn clone(&self) -> VideoLayer
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 VideoLayer
Source§impl Debug for VideoLayer
impl Debug for VideoLayer
Source§impl PartialEq for VideoLayer
impl PartialEq for VideoLayer
impl StructuralPartialEq for VideoLayer
Auto Trait Implementations§
impl Freeze for VideoLayer
impl RefUnwindSafe for VideoLayer
impl Send for VideoLayer
impl Sync for VideoLayer
impl Unpin for VideoLayer
impl UnsafeUnpin for VideoLayer
impl UnwindSafe for VideoLayer
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