Enum guppy::graph::summaries::InitialsPlatformSummary
source · #[non_exhaustive]pub enum InitialsPlatformSummary {
V1 {
proc_macros_on_target: bool,
},
V2 {
initials_platform: InitialsPlatform,
},
}
Available on crate feature
summaries
only.Expand description
Summary information for InitialsPlatform
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
V1
The first version of this option, which only allowed setting proc-macros-on-target
.
Fields
V2
The second and current version of this option.
Fields
§
initials_platform: InitialsPlatform
The configuration value.
Trait Implementations§
source§impl Clone for InitialsPlatformSummary
impl Clone for InitialsPlatformSummary
source§fn clone(&self) -> InitialsPlatformSummary
fn clone(&self) -> InitialsPlatformSummary
Returns a copy 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 InitialsPlatformSummary
impl Debug for InitialsPlatformSummary
source§impl<'de> Deserialize<'de> for InitialsPlatformSummary
impl<'de> Deserialize<'de> for InitialsPlatformSummary
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<InitialsPlatformSummary> for InitialsPlatform
impl From<InitialsPlatformSummary> for InitialsPlatform
source§fn from(s: InitialsPlatformSummary) -> Self
fn from(s: InitialsPlatformSummary) -> Self
Converts to this type from the input type.
source§impl PartialEq for InitialsPlatformSummary
impl PartialEq for InitialsPlatformSummary
source§fn eq(&self, other: &InitialsPlatformSummary) -> bool
fn eq(&self, other: &InitialsPlatformSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InitialsPlatformSummary
impl Serialize for InitialsPlatformSummary
impl Copy for InitialsPlatformSummary
impl Eq for InitialsPlatformSummary
impl StructuralPartialEq for InitialsPlatformSummary
Auto Trait Implementations§
impl Freeze for InitialsPlatformSummary
impl RefUnwindSafe for InitialsPlatformSummary
impl Send for InitialsPlatformSummary
impl Sync for InitialsPlatformSummary
impl Unpin for InitialsPlatformSummary
impl UnwindSafe for InitialsPlatformSummary
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more