pub struct SwiftRoot {
pub program: Program,
pub span: Range<usize>,
}Expand description
Swift source file root node
Fields§
§program: ProgramThe program node containing all statements.
span: Range<usize>The source span of the root node.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SwiftRoot
impl<'de> Deserialize<'de> for SwiftRoot
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
impl StructuralPartialEq for SwiftRoot
Auto Trait Implementations§
impl Freeze for SwiftRoot
impl RefUnwindSafe for SwiftRoot
impl Send for SwiftRoot
impl Sync for SwiftRoot
impl Unpin for SwiftRoot
impl UnsafeUnpin for SwiftRoot
impl UnwindSafe for SwiftRoot
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