pub enum FillModeProperties {
Tile(Box<TileInfoProperties>),
Stretch(Box<StretchInfoProperties>),
}Variants§
Tile(Box<TileInfoProperties>)
This element specifies that a BLIP should be tiled to fill the available space. This element defines a “tile” rectangle within the bounding box. The image is encompassed within the tile rectangle, and the tile rectangle is tiled across the bounding box to fill the entire area.
Stretch(Box<StretchInfoProperties>)
This element specifies that a BLIP should be stretched to fill the target rectangle. The other option is a tile where a BLIP is tiled to fill the available area.
Implementations§
Source§impl FillModeProperties
impl FillModeProperties
pub fn is_choice_member(name: &str) -> bool
pub fn from_xml_element(xml_node: &XmlNode) -> Result<Self, Box<dyn Error>>
Trait Implementations§
Source§impl Clone for FillModeProperties
impl Clone for FillModeProperties
Source§fn clone(&self) -> FillModeProperties
fn clone(&self) -> FillModeProperties
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FillModeProperties
impl RefUnwindSafe for FillModeProperties
impl Send for FillModeProperties
impl Sync for FillModeProperties
impl Unpin for FillModeProperties
impl UnwindSafe for FillModeProperties
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