Skip to main content

DocApiHeaderFooters

Struct DocApiHeaderFooters 

Source
pub struct DocApiHeaderFooters<'a, I: Invoker> { /* private fields */ }

Implementations§

Source§

impl<'a, I: Invoker> DocApiHeaderFooters<'a, I>

Source

pub fn new(invoker: &'a I) -> Self

Source

pub fn page_numbers(&self) -> DocApiHeaderFootersPageNumbers<'a, I>

Source

pub fn parts(&self) -> DocApiHeaderFootersParts<'a, I>

Source

pub fn refs(&self) -> DocApiHeaderFootersRefs<'a, I>

Source

pub fn get<'call>( &'call self, params: &'call DocHeaderFootersGetBoundParams, ) -> impl Future<Output = Result<DocHeaderFootersGetResult>> + Send + 'call

Get a single header/footer slot entry by address.

Source

pub async fn get_with_options( &self, params: &DocHeaderFootersGetBoundParams, options: InvokeOptions, ) -> Result<DocHeaderFootersGetResult>

Get a single header/footer slot entry by address.

Source

pub fn list<'call>( &'call self, params: &'call DocHeaderFootersListBoundParams, ) -> impl Future<Output = Result<DocHeaderFootersListResult>> + Send + 'call

List header/footer slot entries across sections.

Source

pub async fn list_with_options( &self, params: &DocHeaderFootersListBoundParams, options: InvokeOptions, ) -> Result<DocHeaderFootersListResult>

List header/footer slot entries across sections.

Source

pub fn resolve<'call>( &'call self, params: &'call DocHeaderFootersResolveBoundParams, ) -> impl Future<Output = Result<DocHeaderFootersResolveResult>> + Send + 'call

Resolve the effective header/footer reference for a slot, walking the section inheritance chain.

Source

pub async fn resolve_with_options( &self, params: &DocHeaderFootersResolveBoundParams, options: InvokeOptions, ) -> Result<DocHeaderFootersResolveResult>

Resolve the effective header/footer reference for a slot, walking the section inheritance chain.

Auto Trait Implementations§

§

impl<'a, I> Freeze for DocApiHeaderFooters<'a, I>
where &'a I: Freeze,

§

impl<'a, I> RefUnwindSafe for DocApiHeaderFooters<'a, I>

§

impl<'a, I> Send for DocApiHeaderFooters<'a, I>
where &'a I: Send,

§

impl<'a, I> Sync for DocApiHeaderFooters<'a, I>
where &'a I: Sync,

§

impl<'a, I> Unpin for DocApiHeaderFooters<'a, I>
where &'a I: Unpin,

§

impl<'a, I> UnsafeUnpin for DocApiHeaderFooters<'a, I>

§

impl<'a, I> UnwindSafe for DocApiHeaderFooters<'a, I>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.