pub enum CompositionLayout {
Grid,
Spotlight,
Sidebar,
Custom(String),
}Expand description
A composition layout: one of the named layouts, or a custom template.
Variants§
Grid
An even grid of participants.
Spotlight
Highlights the active participant.
Sidebar
A main stage with a sidebar of participants.
Custom(String)
Renders a custom template, given its URL, instead of a named layout.
Implementations§
Trait Implementations§
Source§impl Clone for CompositionLayout
impl Clone for CompositionLayout
Source§fn clone(&self) -> CompositionLayout
fn clone(&self) -> CompositionLayout
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 moreSource§impl Debug for CompositionLayout
impl Debug for CompositionLayout
impl Eq for CompositionLayout
Source§impl PartialEq for CompositionLayout
impl PartialEq for CompositionLayout
impl StructuralPartialEq for CompositionLayout
Auto Trait Implementations§
impl Freeze for CompositionLayout
impl RefUnwindSafe for CompositionLayout
impl Send for CompositionLayout
impl Sync for CompositionLayout
impl Unpin for CompositionLayout
impl UnsafeUnpin for CompositionLayout
impl UnwindSafe for CompositionLayout
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.