pub enum NameStyle {
Declaration,
Reference(FishStyle),
}
Variants
Declaration
Reference(FishStyle)
Implementations
sourceimpl 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
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more