pub struct LayoutEngineId(/* private fields */);Expand description
Stable identifier for a layout engine.
Implementations§
Source§impl LayoutEngineId
impl LayoutEngineId
Sourcepub fn new(id: impl Into<String>) -> LayoutEngineId
pub fn new(id: impl Into<String>) -> LayoutEngineId
Creates a new engine id.
Sourcepub fn dugong() -> LayoutEngineId
pub fn dugong() -> LayoutEngineId
Returns the built-in dugong engine id.
Sourcepub fn mind_map_radial() -> LayoutEngineId
pub fn mind_map_radial() -> LayoutEngineId
Returns the built-in radial mind-map engine id.
Sourcepub fn mind_map_freeform() -> LayoutEngineId
pub fn mind_map_freeform() -> LayoutEngineId
Returns the built-in freeform mind-map engine id.
Trait Implementations§
Source§impl Clone for LayoutEngineId
impl Clone for LayoutEngineId
Source§fn clone(&self) -> LayoutEngineId
fn clone(&self) -> LayoutEngineId
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 LayoutEngineId
impl Debug for LayoutEngineId
Source§impl<'de> Deserialize<'de> for LayoutEngineId
impl<'de> Deserialize<'de> for LayoutEngineId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LayoutEngineId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LayoutEngineId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for LayoutEngineId
impl Display for LayoutEngineId
impl Eq for LayoutEngineId
Source§impl From<&str> for LayoutEngineId
impl From<&str> for LayoutEngineId
Source§fn from(value: &str) -> LayoutEngineId
fn from(value: &str) -> LayoutEngineId
Converts to this type from the input type.
Source§impl From<String> for LayoutEngineId
impl From<String> for LayoutEngineId
Source§fn from(value: String) -> LayoutEngineId
fn from(value: String) -> LayoutEngineId
Converts to this type from the input type.
Source§impl Hash for LayoutEngineId
impl Hash for LayoutEngineId
Source§impl Ord for LayoutEngineId
impl Ord for LayoutEngineId
Source§fn cmp(&self, other: &LayoutEngineId) -> Ordering
fn cmp(&self, other: &LayoutEngineId) -> 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 LayoutEngineId
impl PartialEq for LayoutEngineId
Source§fn eq(&self, other: &LayoutEngineId) -> bool
fn eq(&self, other: &LayoutEngineId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LayoutEngineId
impl PartialOrd for LayoutEngineId
Source§impl Serialize for LayoutEngineId
impl Serialize for LayoutEngineId
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 LayoutEngineId
Auto Trait Implementations§
impl Freeze for LayoutEngineId
impl RefUnwindSafe for LayoutEngineId
impl Send for LayoutEngineId
impl Sync for LayoutEngineId
impl Unpin for LayoutEngineId
impl UnsafeUnpin for LayoutEngineId
impl UnwindSafe for LayoutEngineId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.