pub struct NumPyMethod {
pub range: TextRange,
pub name: TextRange,
pub colon: Option<TextRange>,
pub description: TextRange,
}Expand description
NumPy-style method (for classes).
Fields§
§range: TextRangeSource span.
name: TextRangeMethod name with its span.
colon: Option<TextRange>The colon (:) separating name from description, with its span, if present.
description: TextRangeBrief description with its span.
Trait Implementations§
Source§impl Clone for NumPyMethod
impl Clone for NumPyMethod
Source§fn clone(&self) -> NumPyMethod
fn clone(&self) -> NumPyMethod
Returns a duplicate of the value. Read more
1.0.0 · 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 NumPyMethod
impl Debug for NumPyMethod
Source§impl PartialEq for NumPyMethod
impl PartialEq for NumPyMethod
impl StructuralPartialEq for NumPyMethod
Auto Trait Implementations§
impl Freeze for NumPyMethod
impl RefUnwindSafe for NumPyMethod
impl Send for NumPyMethod
impl Sync for NumPyMethod
impl Unpin for NumPyMethod
impl UnsafeUnpin for NumPyMethod
impl UnwindSafe for NumPyMethod
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