pub struct NavigateParamsBuilder<'a> { /* private fields */ }Implementations§
Sourcepub fn transition_type(self, transition_type: impl Into<TransitionType>) -> Self
pub fn transition_type(self, transition_type: impl Into<TransitionType>) -> Self
Intended transition type.
Sourcepub fn frame_id(self, frame_id: impl Into<FrameId<'a>>) -> Self
pub fn frame_id(self, frame_id: impl Into<FrameId<'a>>) -> Self
Frame id to navigate, if not specified navigates the top frame.
Sourcepub fn referrer_policy(self, referrer_policy: impl Into<ReferrerPolicy>) -> Self
pub fn referrer_policy(self, referrer_policy: impl Into<ReferrerPolicy>) -> Self
Referrer-policy used for the navigation.
pub fn build(self) -> NavigateParams<'a>
Auto Trait Implementations§
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