pub enum SwiftTypeDecl {
Enum(SwiftEnumDecl),
Struct(SwiftStructDecl),
Class(SwiftClassDecl),
}Expand description
Discriminated union of all Swift type declarations.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SwiftTypeDecl
impl Clone for SwiftTypeDecl
Source§fn clone(&self) -> SwiftTypeDecl
fn clone(&self) -> SwiftTypeDecl
Returns a duplicate 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 SwiftTypeDecl
impl Debug for SwiftTypeDecl
Source§impl PartialEq for SwiftTypeDecl
impl PartialEq for SwiftTypeDecl
impl StructuralPartialEq for SwiftTypeDecl
Auto Trait Implementations§
impl Freeze for SwiftTypeDecl
impl RefUnwindSafe for SwiftTypeDecl
impl Send for SwiftTypeDecl
impl Sync for SwiftTypeDecl
impl Unpin for SwiftTypeDecl
impl UnsafeUnpin for SwiftTypeDecl
impl UnwindSafe for SwiftTypeDecl
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