pub struct PageSignal { /* private fields */ }Expand description
页面相关度的组成:各查询方面的证据([facet]),枢纽页和家具页的折扣。
fixed 是直接给定的相关度(没有页面可看的链接,测试)。
Implementations§
Source§impl PageSignal
impl PageSignal
pub fn fixed(relevance: f32) -> PageSignal
Trait Implementations§
Source§impl Clone for PageSignal
impl Clone for PageSignal
Source§fn clone(&self) -> PageSignal
fn clone(&self) -> PageSignal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PageSignal
Source§impl Debug for PageSignal
impl Debug for PageSignal
Source§impl Default for PageSignal
impl Default for PageSignal
Source§fn default() -> PageSignal
fn default() -> PageSignal
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Forget for PageSignal
impl Freeze for PageSignal
impl RefUnwindSafe for PageSignal
impl Send for PageSignal
impl Sync for PageSignal
impl Unpin for PageSignal
impl UnsafeUnpin for PageSignal
impl UnwindSafe for PageSignal
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