pub struct InhibitTypes(/* private fields */);Implementations§
Source§impl InhibitTypes
impl InhibitTypes
pub fn new(inhibit_types: &[InhibitType]) -> InhibitTypes
pub fn types(&self) -> &Vec<InhibitType>
Trait Implementations§
Source§impl Clone for InhibitTypes
impl Clone for InhibitTypes
Source§fn clone(&self) -> InhibitTypes
fn clone(&self) -> InhibitTypes
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 InhibitTypes
impl Debug for InhibitTypes
Source§impl<'de> Deserialize<'de> for InhibitTypes
impl<'de> Deserialize<'de> for InhibitTypes
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<&InhibitTypes> for String
impl From<&InhibitTypes> for String
Source§fn from(s: &InhibitTypes) -> Self
fn from(s: &InhibitTypes) -> Self
Converts to this type from the input type.
Source§impl From<InhibitTypes> for String
impl From<InhibitTypes> for String
Source§fn from(s: InhibitTypes) -> Self
fn from(s: InhibitTypes) -> Self
Converts to this type from the input type.
Source§impl FromStr for InhibitTypes
impl FromStr for InhibitTypes
Source§impl PartialEq for InhibitTypes
impl PartialEq for InhibitTypes
Source§impl Serialize for InhibitTypes
impl Serialize for InhibitTypes
Source§impl Type for InhibitTypes
impl Type for InhibitTypes
impl Eq for InhibitTypes
impl StructuralPartialEq for InhibitTypes
Auto Trait Implementations§
impl Freeze for InhibitTypes
impl RefUnwindSafe for InhibitTypes
impl Send for InhibitTypes
impl Sync for InhibitTypes
impl Unpin for InhibitTypes
impl UnwindSafe for InhibitTypes
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.