pub struct PreprocessorVersion {
pub version: u16,
pub profile: Option<PreprocessorVersionProfile>,
}
Expand description
A #version preprocessor directive.
Fields§
§version: u16
§profile: Option<PreprocessorVersionProfile>
Trait Implementations§
Source§impl Clone for PreprocessorVersion
impl Clone for PreprocessorVersion
Source§fn clone(&self) -> PreprocessorVersion
fn clone(&self) -> PreprocessorVersion
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 PreprocessorVersion
impl Debug for PreprocessorVersion
Source§impl Host for PreprocessorVersion
impl Host for PreprocessorVersion
Source§impl HostMut for PreprocessorVersion
impl HostMut for PreprocessorVersion
Source§fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
Visit an AST node.
Source§impl Parse for PreprocessorVersion
impl Parse for PreprocessorVersion
Source§impl PartialEq for PreprocessorVersion
impl PartialEq for PreprocessorVersion
impl StructuralPartialEq for PreprocessorVersion
Auto Trait Implementations§
impl Freeze for PreprocessorVersion
impl RefUnwindSafe for PreprocessorVersion
impl Send for PreprocessorVersion
impl Sync for PreprocessorVersion
impl Unpin for PreprocessorVersion
impl UnwindSafe for PreprocessorVersion
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