pub struct LinkQuery { /* private fields */ }Expand description
Structural query over links.
Implementations§
Source§impl LinkQuery
impl LinkQuery
Sourcepub const fn with_link_type(self, link_type: LinkType) -> Self
pub const fn with_link_type(self, link_type: LinkType) -> Self
Restricts matches to a link type.
Sourcepub fn with_language(self, language: impl Into<String>) -> Self
pub fn with_language(self, language: impl Into<String>) -> Self
Restricts matches to a language label.
Sourcepub const fn with_named(self, named: bool) -> Self
pub const fn with_named(self, named: bool) -> Self
Restricts matches by the named flag.
Trait Implementations§
impl Eq for LinkQuery
impl StructuralPartialEq for LinkQuery
Auto Trait Implementations§
impl Freeze for LinkQuery
impl RefUnwindSafe for LinkQuery
impl Send for LinkQuery
impl Sync for LinkQuery
impl Unpin for LinkQuery
impl UnsafeUnpin for LinkQuery
impl UnwindSafe for LinkQuery
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