pub enum GenericStyle {
Protocol,
Typealias,
}Expand description
Generic type style for Swift.
Variants§
Trait Implementations§
Source§impl Clone for GenericStyle
impl Clone for GenericStyle
Source§fn clone(&self) -> GenericStyle
fn clone(&self) -> GenericStyle
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 GenericStyle
impl Debug for GenericStyle
Source§impl Default for GenericStyle
impl Default for GenericStyle
Source§fn default() -> GenericStyle
fn default() -> GenericStyle
Returns the “default value” for a type. Read more
Source§impl PartialEq for GenericStyle
impl PartialEq for GenericStyle
Source§fn eq(&self, other: &GenericStyle) -> bool
fn eq(&self, other: &GenericStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GenericStyle
impl Eq for GenericStyle
impl StructuralPartialEq for GenericStyle
Auto Trait Implementations§
impl Freeze for GenericStyle
impl RefUnwindSafe for GenericStyle
impl Send for GenericStyle
impl Sync for GenericStyle
impl Unpin for GenericStyle
impl UnsafeUnpin for GenericStyle
impl UnwindSafe for GenericStyle
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