pub struct Slice {Show 21 fields
pub id: f64,
pub group_id: f64,
pub origin: Option<SliceOrigin>,
pub associated_layer_id: f64,
pub name: Option<String>,
pub slice_type: Option<SliceType>,
pub bounds: LtrbBounds,
pub url: String,
pub target: String,
pub message: String,
pub alt_tag: String,
pub cell_text_is_html: bool,
pub cell_text: String,
pub horizontal_alignment: Option<SliceAlignment>,
pub vertical_alignment: Option<SliceAlignment>,
pub background_color_type: Option<SliceBackgroundColorType>,
pub background_color: Rgba,
pub top_outset: Option<f64>,
pub left_outset: Option<f64>,
pub bottom_outset: Option<f64>,
pub right_outset: Option<f64>,
}Expand description
TS slices[].slices[] element.
Fields§
§id: f64§group_id: f64§origin: Option<SliceOrigin>§associated_layer_id: f64§name: Option<String>§slice_type: Option<SliceType>TS field type
bounds: LtrbBounds§url: String§target: String§message: String§alt_tag: String§cell_text_is_html: bool§cell_text: String§horizontal_alignment: Option<SliceAlignment>§vertical_alignment: Option<SliceAlignment>§background_color_type: Option<SliceBackgroundColorType>§background_color: Rgba§top_outset: Option<f64>§left_outset: Option<f64>§bottom_outset: Option<f64>§right_outset: Option<f64>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Slice
impl RefUnwindSafe for Slice
impl Send for Slice
impl Sync for Slice
impl Unpin for Slice
impl UnsafeUnpin for Slice
impl UnwindSafe for Slice
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