pub struct MethodClassCandidate {
pub path: PathBuf,
pub class_name: String,
pub methods: Vec<String>,
pub suppressed_lines: Vec<u32>,
}Expand description
An exported class whose methods the type-aware pass reads.
Fields§
§path: PathBufThe file that declares the class.
class_name: StringThe local name of the class in its module.
methods: Vec<String>The names of the methods without a decorator.
suppressed_lines: Vec<u32>The 1-based lines of the file where a constant-parameter
suppression applies.
Trait Implementations§
Source§impl Clone for MethodClassCandidate
impl Clone for MethodClassCandidate
Auto Trait Implementations§
impl Forget for MethodClassCandidate
impl Freeze for MethodClassCandidate
impl Move for MethodClassCandidate
impl RefUnwindSafe for MethodClassCandidate
impl Send for MethodClassCandidate
impl Sync for MethodClassCandidate
impl Unpin for MethodClassCandidate
impl UnsafeUnpin for MethodClassCandidate
impl UnwindSafe for MethodClassCandidate
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