pub enum CustomPlace {
BeforeFirst,
Before(CustomPlaceAnchor),
After(CustomPlaceAnchor),
AfterLast,
}Expand description
Possible locations to place a custom section within a module.
Variants§
BeforeFirst
This custom section will appear before the first section in the module.
Before(CustomPlaceAnchor)
This custom section will be placed just before a known section.
After(CustomPlaceAnchor)
This custom section will be placed just after a known section.
AfterLast
This custom section will appear after the last section in the module.
Trait Implementations§
Source§impl Clone for CustomPlace
impl Clone for CustomPlace
Source§fn clone(&self) -> CustomPlace
fn clone(&self) -> CustomPlace
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CustomPlace
impl Debug for CustomPlace
Source§impl<'a> Parse<'a> for CustomPlace
impl<'a> Parse<'a> for CustomPlace
Source§impl PartialEq for CustomPlace
impl PartialEq for CustomPlace
impl Copy for CustomPlace
impl StructuralPartialEq for CustomPlace
Auto Trait Implementations§
impl Freeze for CustomPlace
impl RefUnwindSafe for CustomPlace
impl Send for CustomPlace
impl Sync for CustomPlace
impl Unpin for CustomPlace
impl UnwindSafe for CustomPlace
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