pub enum ChannelsShape {
Explicit,
WithDefaults,
}Expand description
Top-level channels-form shape, preserved across read/edit so the user’s stylistic choice survives a round-trip.
Variants§
Explicit
(list (channel ...) ...) — every channel enumerated explicitly.
WithDefaults
(cons* ... %default-channels) / (cons ... %default-channels)
or a bare %default-channels symbol.
Trait Implementations§
Source§impl Clone for ChannelsShape
impl Clone for ChannelsShape
Source§fn clone(&self) -> ChannelsShape
fn clone(&self) -> ChannelsShape
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 ChannelsShape
Source§impl Debug for ChannelsShape
impl Debug for ChannelsShape
impl Eq for ChannelsShape
Source§impl PartialEq for ChannelsShape
impl PartialEq for ChannelsShape
Source§fn eq(&self, other: &ChannelsShape) -> bool
fn eq(&self, other: &ChannelsShape) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChannelsShape
Auto Trait Implementations§
impl Freeze for ChannelsShape
impl RefUnwindSafe for ChannelsShape
impl Send for ChannelsShape
impl Sync for ChannelsShape
impl Unpin for ChannelsShape
impl UnsafeUnpin for ChannelsShape
impl UnwindSafe for ChannelsShape
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