pub struct File<P: Phase = Raw> {
pub declarations: Vec<Declaration<P>>,
}Expand description
Fields§
§declarations: Vec<Declaration<P>>Trait Implementations§
Source§impl FormatEquivalent for File
impl FormatEquivalent for File
Source§fn format_equivalent(&self, other: &Self) -> bool
fn format_equivalent(&self, other: &Self) -> bool
Returns
true if self and other are equivalent up to formatting.Auto Trait Implementations§
impl<P> Freeze for File<P>
impl<P> RefUnwindSafe for File<P>
impl<P> Send for File<P>
impl<P> Sync for File<P>
impl<P> Unpin for File<P>
impl<P> UnsafeUnpin for File<P>
impl<P> UnwindSafe for File<P>
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