pub enum AstroRenderingMode {
Static,
Server,
Hybrid,
}Expand description
Astro rendering mode labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AstroRenderingMode
impl Clone for AstroRenderingMode
Source§fn clone(&self) -> AstroRenderingMode
fn clone(&self) -> AstroRenderingMode
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 moreSource§impl Debug for AstroRenderingMode
impl Debug for AstroRenderingMode
Source§impl Display for AstroRenderingMode
impl Display for AstroRenderingMode
Source§impl FromStr for AstroRenderingMode
impl FromStr for AstroRenderingMode
Source§type Err = AstroTextError
type Err = AstroTextError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<AstroRenderingMode, <AstroRenderingMode as FromStr>::Err>
fn from_str( input: &str, ) -> Result<AstroRenderingMode, <AstroRenderingMode as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for AstroRenderingMode
impl Hash for AstroRenderingMode
Source§impl Ord for AstroRenderingMode
impl Ord for AstroRenderingMode
Source§fn cmp(&self, other: &AstroRenderingMode) -> Ordering
fn cmp(&self, other: &AstroRenderingMode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AstroRenderingMode
impl PartialEq for AstroRenderingMode
Source§fn eq(&self, other: &AstroRenderingMode) -> bool
fn eq(&self, other: &AstroRenderingMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AstroRenderingMode
impl PartialOrd for AstroRenderingMode
impl Copy for AstroRenderingMode
impl Eq for AstroRenderingMode
impl StructuralPartialEq for AstroRenderingMode
Auto Trait Implementations§
impl Freeze for AstroRenderingMode
impl RefUnwindSafe for AstroRenderingMode
impl Send for AstroRenderingMode
impl Sync for AstroRenderingMode
impl Unpin for AstroRenderingMode
impl UnsafeUnpin for AstroRenderingMode
impl UnwindSafe for AstroRenderingMode
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