pub enum TypeGenerics {
Function(TypeGenericsFunction),
Angle(TypeGenericsAngle),
}Variants§
Function(TypeGenericsFunction)
Angle(TypeGenericsAngle)
Implementations§
Source§impl TypeGenerics
impl TypeGenerics
pub fn into_function(self) -> Option<TypeGenericsFunction>
pub fn into_angle(self) -> Option<TypeGenericsAngle>
pub fn as_function(&self) -> Option<&TypeGenericsFunction>
pub fn as_angle(&self) -> Option<&TypeGenericsAngle>
pub fn is_function(&self) -> bool
pub fn is_angle(&self) -> bool
Trait Implementations§
Source§impl Debug for TypeGenerics
impl Debug for TypeGenerics
Source§impl<'a> Index<&'a TypeGenerics> for str
impl<'a> Index<&'a TypeGenerics> for str
Source§impl Index<TypeGenerics> for str
impl Index<TypeGenerics> for str
Auto Trait Implementations§
impl Freeze for TypeGenerics
impl RefUnwindSafe for TypeGenerics
impl Send for TypeGenerics
impl Sync for TypeGenerics
impl Unpin for TypeGenerics
impl UnsafeUnpin for TypeGenerics
impl UnwindSafe for TypeGenerics
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