[][src]Struct karo::Format

pub struct Format {
    pub font: Font,
    pub num_format: NumFormat,
    pub fill: Fill,
    pub borders: CellBorder,
    pub hidden: bool,
    pub horizontal_alignment: Option<HorizontalAlignment>,
    pub vertical_alignment: Option<VerticalAlignment>,
    pub text_wrap: bool,
    pub indent: u8,
    pub shrink: u8,
    // some fields omitted
}

Fields

font: Fontnum_format: NumFormatfill: Fillborders: CellBorderhidden: boolhorizontal_alignment: Option<HorizontalAlignment>vertical_alignment: Option<VerticalAlignment>text_wrap: boolindent: u8shrink: u8

Methods

impl Format[src]

pub fn set_text_wrap(&mut self)[src]

pub fn set_rotation(&mut self, angle: i16) -> Result<()>[src]

Trait Implementations

impl Clone for Format[src]

impl Default for Format[src]

impl Eq for Format[src]

impl PartialEq<Format> for Format[src]

impl Debug for Format[src]

impl Hash for Format[src]

impl StructuralPartialEq for Format[src]

impl StructuralEq for Format[src]

Auto Trait Implementations

impl Send for Format

impl Sync for Format

impl Unpin for Format

impl UnwindSafe for Format

impl RefUnwindSafe for Format

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]