pub struct CustomPragma {
pub directive: String,
pub argument: Option<String>,
}Fields§
§directive: String§argument: Option<String>Trait Implementations§
Source§impl Clone for CustomPragma
impl Clone for CustomPragma
Source§fn clone(&self) -> CustomPragma
fn clone(&self) -> CustomPragma
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 CustomPragma
impl Debug for CustomPragma
Source§impl<'de> Deserialize<'de> for CustomPragma
impl<'de> Deserialize<'de> for CustomPragma
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
Source§impl From<&PreprocCall> for CustomPragma
impl From<&PreprocCall> for CustomPragma
Source§fn from(value: &PreprocCall) -> Self
fn from(value: &PreprocCall) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CustomPragma
impl PartialEq for CustomPragma
Source§fn eq(&self, other: &CustomPragma) -> bool
fn eq(&self, other: &CustomPragma) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CustomPragma
impl Serialize for CustomPragma
impl Eq for CustomPragma
impl StructuralPartialEq for CustomPragma
Auto Trait Implementations§
impl Freeze for CustomPragma
impl RefUnwindSafe for CustomPragma
impl Send for CustomPragma
impl Sync for CustomPragma
impl Unpin for CustomPragma
impl UnsafeUnpin for CustomPragma
impl UnwindSafe for CustomPragma
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