Trait stc_ts_file_analyzer::util::EndsWithRet
source · [−]pub(crate) trait EndsWithRet {
fn ends_with_ret(&self) -> bool;
}
Required Methods
sourcefn ends_with_ret(&self) -> bool
fn ends_with_ret(&self) -> bool
Returns true if the statement ends with return, break, continue;
Implementations on Foreign Types
sourceimpl EndsWithRet for RStmt
impl EndsWithRet for RStmt
sourcefn ends_with_ret(&self) -> bool
fn ends_with_ret(&self) -> bool
Returns true if the statement ends with return, break, continue;
sourceimpl EndsWithRet for RBlockStmt
impl EndsWithRet for RBlockStmt
sourcefn ends_with_ret(&self) -> bool
fn ends_with_ret(&self) -> bool
Returns true if the statement ends with return, break, continue;
sourceimpl<T> EndsWithRet for Vec<T>where
T: EndsWithRet,
impl<T> EndsWithRet for Vec<T>where
T: EndsWithRet,
sourcefn ends_with_ret(&self) -> bool
fn ends_with_ret(&self) -> bool
Returns true if the statement ends with return, break, continue;