pub trait AbstractSignStrExt {
// Required methods
fn sign_str(self) -> &'static str;
fn sign_sn(self) -> &'static str;
fn sign_we(self) -> &'static str;
}Expand description
📚 【 POL】: Trait rozszerzający dla typów liczbowych, ułatwiający prezentację znaków kierunkowych. 📚 【 ENG】: Extension trait for numerical types, facilitating the presentation of directional signs.
Required Methods§
Sourcefn sign_str(self) -> &'static str
fn sign_str(self) -> &'static str
📚 【 POL】: Zwraca “+” dla wartości nieujemnych oraz “-” dla ujemnych. 📚 【 ENG】: Returns “+” for non-negative values and “-” for negative ones.