One more doc
This commit is contained in:
parent
ed92f7a037
commit
4013cf9229
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ pub trait IntoElement: Sized {
|
|||
}
|
||||
}
|
||||
|
||||
/// Map this type to a different type with the given function. Useful when method chaining.
|
||||
fn map<U>(self, f: impl FnOnce(Self) -> U) -> U
|
||||
where
|
||||
Self: Sized,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue