Enum AstroRenderingMode
pub enum AstroRenderingMode {
Static,
Server,
Hybrid,
}Expand description
Astro rendering mode labels.
Variants§
Implementations§
§impl AstroRenderingMode
impl AstroRenderingMode
Trait Implementations§
§impl Clone for AstroRenderingMode
impl Clone for AstroRenderingMode
§fn clone(&self) -> AstroRenderingMode
fn clone(&self) -> AstroRenderingMode
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 more§impl Debug for AstroRenderingMode
impl Debug for AstroRenderingMode
§impl Display for AstroRenderingMode
impl Display for AstroRenderingMode
§impl FromStr for AstroRenderingMode
impl FromStr for AstroRenderingMode
§type Err = AstroTextError
type Err = AstroTextError
The associated error which can be returned from parsing.
§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 more§impl Hash for AstroRenderingMode
impl Hash for AstroRenderingMode
§impl Ord for AstroRenderingMode
impl Ord for AstroRenderingMode
§fn cmp(&self, other: &AstroRenderingMode) -> Ordering
fn cmp(&self, other: &AstroRenderingMode) -> Ordering
1.21.0 · 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
§impl PartialEq for AstroRenderingMode
impl PartialEq for AstroRenderingMode
§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