pub type Segment = FormattedSegment<GenericFormattedValue>;
Implementations
sourceimpl Segment
impl Segment
pub fn reset_with_format(&mut self, format: Format)
pub fn set_format(&mut self, format: Format)
pub fn downcast<T: FormattedValueIntrinsic>(
self
) -> Result<FormattedSegment<T>, Self>
pub fn downcast_ref<T: FormattedValueIntrinsic>(
&self
) -> Option<&FormattedSegment<T>>
pub fn downcast_mut<T: FormattedValueIntrinsic>(
&mut self
) -> Option<&mut FormattedSegment<T>>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Segment
impl<'de> Deserialize<'de> for Segment
sourcefn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl ValueType for Segment
impl ValueType for Segment
type Type = FormattedSegment<GenericFormattedValue>
type Type = FormattedSegment<GenericFormattedValue>
Type to get the Type
from. Read more