pub enum NameStyle {
Declaration,
Reference(FishStyle),
}
Variants§
Implementations§
source§impl NameStyle
impl NameStyle
pub fn decl() -> Self
pub fn ref_() -> Self
pub fn ref_fish() -> Self
pub fn is_declaration(&self) -> bool
pub fn is_reference(&self) -> bool
pub fn turbo_fish_style(&self) -> FishStyle
pub fn rust_turbo_fish_qual(&self) -> &'static str
Trait Implementations§
source§impl PartialEq for NameStyle
impl PartialEq for NameStyle
impl Copy for NameStyle
impl Eq for NameStyle
impl StructuralEq for NameStyle
impl StructuralPartialEq for NameStyle
Auto Trait Implementations§
impl RefUnwindSafe for NameStyle
impl Send for NameStyle
impl Sync for NameStyle
impl Unpin for NameStyle
impl UnwindSafe for NameStyle
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