pub enum PointerStyle {
WithType,
WithName,
Middle,
Mixed,
Unknown,
}Expand description
Detected pointer / reference declarator alignment.
Variants§
WithType
Type* var — * glued to the type keyword.
WithName
Type *var — * glued to the variable name.
Middle
Type * var — * in the middle (both sides spaced).
Mixed
Unknown
Implementations§
Trait Implementations§
Source§impl Clone for PointerStyle
impl Clone for PointerStyle
Source§fn clone(&self) -> PointerStyle
fn clone(&self) -> PointerStyle
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 PointerStyle
impl Debug for PointerStyle
Source§impl Default for PointerStyle
impl Default for PointerStyle
Source§fn default() -> PointerStyle
fn default() -> PointerStyle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PointerStyle
impl<'de> Deserialize<'de> for PointerStyle
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 PartialEq for PointerStyle
impl PartialEq for PointerStyle
Source§fn eq(&self, other: &PointerStyle) -> bool
fn eq(&self, other: &PointerStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PointerStyle
impl Serialize for PointerStyle
impl Copy for PointerStyle
impl Eq for PointerStyle
impl StructuralPartialEq for PointerStyle
Auto Trait Implementations§
impl Freeze for PointerStyle
impl RefUnwindSafe for PointerStyle
impl Send for PointerStyle
impl Sync for PointerStyle
impl Unpin for PointerStyle
impl UnsafeUnpin for PointerStyle
impl UnwindSafe for PointerStyle
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