std.ops.Add
Add[T, R]The binary + operator.
This trait is generic as types may wish to customise the type on the right-hand side of the operator.
Required methods
+
Show source codeHide source code
fn pub +(other: ref T) -> Rfn pub +(other: ref T) -> RAdds the given object to self.
Implementations
Float
impl Add[Float, Float] for FloatInt
impl Add[Int, Int] for IntString
impl Add[String, String] for StringDateTime
impl Add[Duration, DateTime] for DateTimeDuration
impl Add[Duration, Duration] for DurationInstant
impl Add[Duration, Instant] for Instant