pub struct NavigateBuilder { /* private fields */ }Expand description
Builder for Navigate.
Implementations§
Sourcepub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
URL to navigate the page to.
Sourcepub fn transition_type<VALUE: Into<TransitionType>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn transition_type<VALUE: Into<TransitionType>>( &mut self, value: VALUE, ) -> &mut Self
Intended transition type.
Sourcepub fn frame_id<VALUE: Into<FrameId>>(&mut self, value: VALUE) -> &mut Self
pub fn frame_id<VALUE: Into<FrameId>>(&mut self, value: VALUE) -> &mut Self
Frame id to navigate, if not specified navigates the top frame.
Sourcepub fn referrer_policy<VALUE: Into<ReferrerPolicy>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn referrer_policy<VALUE: Into<ReferrerPolicy>>( &mut self, value: VALUE, ) -> &mut Self
Referrer-policy used for the navigation.
Trait Implementations§
Source§fn clone(&self) -> NavigateBuilder
fn clone(&self) -> NavigateBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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