pub struct Intent<R: Route> {
pub target: R,
}Expand description
页面意图 (Intent)。 用于携带目标路由以及未来可能扩展的转场动画配置、启动参数等。
Fields§
§target: RImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<R> Freeze for Intent<R>where
R: Freeze,
impl<R> RefUnwindSafe for Intent<R>where
R: RefUnwindSafe,
impl<R> Send for Intent<R>
impl<R> Sync for Intent<R>
impl<R> Unpin for Intent<R>where
R: Unpin,
impl<R> UnsafeUnpin for Intent<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for Intent<R>where
R: UnwindSafe,
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