pub enum SectionBreak {
NextPage,
Continuous,
None,
}Expand description
What separates A’s content from B’s.
Variants§
NextPage
B starts on a new page: a page break, or a next-page section break
with AppendOptions::keep_sections.
Continuous
B continues on the same page; with
AppendOptions::keep_sections, a continuous section break.
None
Nothing between A and B. With AppendOptions::keep_sections a
section break cannot be avoided, so this acts as Self::Continuous.
Trait Implementations§
Source§impl Clone for SectionBreak
impl Clone for SectionBreak
Source§fn clone(&self) -> SectionBreak
fn clone(&self) -> SectionBreak
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 SectionBreak
Source§impl Debug for SectionBreak
impl Debug for SectionBreak
Source§impl Default for SectionBreak
impl Default for SectionBreak
Source§fn default() -> SectionBreak
fn default() -> SectionBreak
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SectionBreak
impl<'de> Deserialize<'de> for SectionBreak
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SectionBreak, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SectionBreak, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SectionBreak
Source§impl From<SectionBreakArg> for SectionBreak
impl From<SectionBreakArg> for SectionBreak
Source§fn from(arg: SectionBreakArg) -> Self
fn from(arg: SectionBreakArg) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SectionBreak
impl PartialEq for SectionBreak
Source§impl Serialize for SectionBreak
impl Serialize for SectionBreak
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SectionBreak
Auto Trait Implementations§
impl Forget for SectionBreak
impl Freeze for SectionBreak
impl Move for SectionBreak
impl RefUnwindSafe for SectionBreak
impl Send for SectionBreak
impl Sync for SectionBreak
impl Unpin for SectionBreak
impl UnsafeUnpin for SectionBreak
impl UnwindSafe for SectionBreak
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.