pub enum ProjectionMode {
File,
Region,
}Expand description
How a projection owns its target.
Variants§
File
The whole file is generated; its first line is the stamp.
Region
Only the text between majordomus:begin and majordomus:end markers is generated.
Trait Implementations§
Source§impl Clone for ProjectionMode
impl Clone for ProjectionMode
Source§fn clone(&self) -> ProjectionMode
fn clone(&self) -> ProjectionMode
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 ProjectionMode
Source§impl Debug for ProjectionMode
impl Debug for ProjectionMode
Source§impl Default for ProjectionMode
impl Default for ProjectionMode
Source§fn default() -> ProjectionMode
fn default() -> ProjectionMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectionMode
impl<'de> Deserialize<'de> for ProjectionMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProjectionMode
Source§impl PartialEq for ProjectionMode
impl PartialEq for ProjectionMode
Source§fn eq(&self, other: &ProjectionMode) -> bool
fn eq(&self, other: &ProjectionMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProjectionMode
Auto Trait Implementations§
impl Freeze for ProjectionMode
impl RefUnwindSafe for ProjectionMode
impl Send for ProjectionMode
impl Sync for ProjectionMode
impl Unpin for ProjectionMode
impl UnsafeUnpin for ProjectionMode
impl UnwindSafe for ProjectionMode
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>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.