[−][src]Enum rtdlib::types::PageBlockVerticalAlignment
Describes a Vertical alignment of a table cell content
Variants
Bottom(PageBlockVerticalAlignmentBottom)
The content should be bottom-aligned
Middle(PageBlockVerticalAlignmentMiddle)
The content should be middle-aligned
The content should be top-aligned
Implementations
impl PageBlockVerticalAlignment
[src]
pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>
[src]
pub fn is_bottom(&self) -> bool
[src]
pub fn is_middle(&self) -> bool
[src]
pub fn is_top(&self) -> bool
[src]
pub fn on_bottom<F: FnOnce(&PageBlockVerticalAlignmentBottom)>(
&self,
fnc: F
) -> &Self
[src]
&self,
fnc: F
) -> &Self
pub fn on_middle<F: FnOnce(&PageBlockVerticalAlignmentMiddle)>(
&self,
fnc: F
) -> &Self
[src]
&self,
fnc: F
) -> &Self
pub fn on_top<F: FnOnce(&PageBlockVerticalAlignmentTop)>(&self, fnc: F) -> &Self
[src]
pub fn as_bottom(&self) -> Option<&PageBlockVerticalAlignmentBottom>
[src]
pub fn as_middle(&self) -> Option<&PageBlockVerticalAlignmentMiddle>
[src]
pub fn as_top(&self) -> Option<&PageBlockVerticalAlignmentTop>
[src]
pub fn bottom<T: AsRef<PageBlockVerticalAlignmentBottom>>(t: T) -> Self
[src]
pub fn middle<T: AsRef<PageBlockVerticalAlignmentMiddle>>(t: T) -> Self
[src]
pub fn top<T: AsRef<PageBlockVerticalAlignmentTop>>(t: T) -> Self
[src]
Trait Implementations
impl AsRef<PageBlockVerticalAlignment> for PageBlockVerticalAlignment
[src]
fn as_ref(&self) -> &PageBlockVerticalAlignment
[src]
impl Clone for PageBlockVerticalAlignment
[src]
fn clone(&self) -> PageBlockVerticalAlignment
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PageBlockVerticalAlignment
[src]
impl Default for PageBlockVerticalAlignment
[src]
impl<'de> Deserialize<'de> for PageBlockVerticalAlignment
[src]
fn deserialize<D>(
deserializer: D
) -> Result<PageBlockVerticalAlignment, D::Error> where
D: Deserializer<'de>,
[src]
deserializer: D
) -> Result<PageBlockVerticalAlignment, D::Error> where
D: Deserializer<'de>,
impl RObject for PageBlockVerticalAlignment
[src]
impl Serialize for PageBlockVerticalAlignment
[src]
Auto Trait Implementations
impl RefUnwindSafe for PageBlockVerticalAlignment
impl Send for PageBlockVerticalAlignment
impl Sync for PageBlockVerticalAlignment
impl Unpin for PageBlockVerticalAlignment
impl UnwindSafe for PageBlockVerticalAlignment
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,