pub struct ListTypefacesRequest {
pub flags: Option<ListTypefacesFlags>,
pub family: Option<FamilyName>,
pub slant: Option<SlantRange>,
pub weight: Option<WeightRange>,
pub width: Option<WidthRange>,
pub languages: Option<Vec<LocaleId>>,
pub code_points: Option<Vec<u32>>,
pub generic_family: Option<GenericFontFamily>,
/* private fields */
}
Expand description
Query parameters for ListTypefaces
. Results must match all included
fields. All fields are optional; omitted fields will match any font.
Fields§
§flags: Option<ListTypefacesFlags>
Optional flags to modify matching behavior. Ignored if no other fields are set.
family: Option<FamilyName>
The name or alias of a font family. By default, families whose name
exactly matches family
. For substring matching, set the request’s
MATCH_FAMILY_NAME_SUBSTRING
flag.
slant: Option<SlantRange>
Results must have a slant within this inclusive range.
weight: Option<WeightRange>
Results must have a weight within this inclusive range.
width: Option<WidthRange>
Results must have a width within this inclusive range.
languages: Option<Vec<LocaleId>>
Languages that results must support. Each result must support all requested languages.
code_points: Option<Vec<u32>>
Code points that results must include. Each result must include all requested code points.
generic_family: Option<GenericFontFamily>
Generic font family which results must belong to. If a font’s generic family is not set, it will only be matched if this field is also not set. However, omitting this field will still cause it to match any font.
Trait Implementations§
Source§impl Clone for ListTypefacesRequest
impl Clone for ListTypefacesRequest
Source§fn clone(&self) -> ListTypefacesRequest
fn clone(&self) -> ListTypefacesRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ListTypefacesRequest
impl Debug for ListTypefacesRequest
Source§impl<D: ResourceDialect> Decode<ListTypefacesRequest, D> for ListTypefacesRequest
impl<D: ResourceDialect> Decode<ListTypefacesRequest, D> for ListTypefacesRequest
Source§impl Default for ListTypefacesRequest
impl Default for ListTypefacesRequest
Source§fn default() -> ListTypefacesRequest
fn default() -> ListTypefacesRequest
Source§impl<D: ResourceDialect> Encode<ListTypefacesRequest, D> for &ListTypefacesRequest
impl<D: ResourceDialect> Encode<ListTypefacesRequest, D> for &ListTypefacesRequest
Source§impl PartialEq for ListTypefacesRequest
impl PartialEq for ListTypefacesRequest
Source§impl TypeMarker for ListTypefacesRequest
impl TypeMarker for ListTypefacesRequest
Source§type Owned = ListTypefacesRequest
type Owned = ListTypefacesRequest
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.Source§impl ValueTypeMarker for ListTypefacesRequest
impl ValueTypeMarker for ListTypefacesRequest
Source§type Borrowed<'a> = &'a ListTypefacesRequest
type Borrowed<'a> = &'a ListTypefacesRequest
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Persistable for ListTypefacesRequest
impl StructuralPartialEq for ListTypefacesRequest
Auto Trait Implementations§
impl Freeze for ListTypefacesRequest
impl RefUnwindSafe for ListTypefacesRequest
impl Send for ListTypefacesRequest
impl Sync for ListTypefacesRequest
impl Unpin for ListTypefacesRequest
impl UnwindSafe for ListTypefacesRequest
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)