pub enum Anchor {
End,
Middle,
Start,
}
Expand description
The anchor position for placing the title. One of "start"
, "middle"
, or "end"
. For
example, with an orientation of top these anchor positions map to a left-, center-, or
right-aligned title.
Default value: "middle"
for
single and
layered views.
"start"
for other composite views.
Note: For now, anchor
is only
customizable only for single and
layered views. For other composite
views, anchor
is always "start"
.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Anchor
impl<'de> Deserialize<'de> for Anchor
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