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§
Auto Trait Implementations§
impl Freeze for NameStyle
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