pub struct PointerPath { /* private fields */ }
Implementations§
Source§impl PointerPath
impl PointerPath
pub fn new( state: &mut State, path: DocumentPath, ctx: &Context<'_>, ) -> Result<Self, Error>
pub fn allowed_types() -> HashSet<AllowedType>
pub fn build( state: &mut State, path: DocumentPath, ctx: &Context<'_>, ) -> Result<Box<dyn Attribute>, Error>
Trait Implementations§
Source§impl Attribute for PointerPath
impl Attribute for PointerPath
Auto Trait Implementations§
impl Freeze for PointerPath
impl RefUnwindSafe for PointerPath
impl Send for PointerPath
impl Sync for PointerPath
impl Unpin for PointerPath
impl UnwindSafe for PointerPath
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