#[non_exhaustive]pub enum PollLayoutType {
Default,
Unknown(u8),
}
Expand description
Layout of a poll.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
source§impl Clone for PollLayoutType
impl Clone for PollLayoutType
source§fn clone(&self) -> PollLayoutType
fn clone(&self) -> PollLayoutType
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 moresource§impl Debug for PollLayoutType
impl Debug for PollLayoutType
source§impl<'de> Deserialize<'de> for PollLayoutType
impl<'de> Deserialize<'de> for PollLayoutType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<PollLayoutType> for u8
impl From<PollLayoutType> for u8
source§fn from(value: PollLayoutType) -> Self
fn from(value: PollLayoutType) -> Self
Converts to this type from the input type.
source§impl From<u8> for PollLayoutType
impl From<u8> for PollLayoutType
source§impl Hash for PollLayoutType
impl Hash for PollLayoutType
source§impl PartialEq for PollLayoutType
impl PartialEq for PollLayoutType
source§impl Serialize for PollLayoutType
impl Serialize for PollLayoutType
impl Copy for PollLayoutType
impl Eq for PollLayoutType
impl StructuralPartialEq for PollLayoutType
Auto Trait Implementations§
impl Freeze for PollLayoutType
impl RefUnwindSafe for PollLayoutType
impl Send for PollLayoutType
impl Sync for PollLayoutType
impl Unpin for PollLayoutType
impl UnwindSafe for PollLayoutType
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)