Struct windows_metadata::reader::Reader
source · [−]pub struct Reader<'a> { /* private fields */ }
Implementations
sourceimpl<'a> Reader<'a>
impl<'a> Reader<'a>
pub fn new(files: &'a [File]) -> Self
pub fn tree(&'a self, root: &'a str, exclude: &[&str]) -> Option<Tree<'_>>
pub fn namespace_types(
&self,
namespace: &str
) -> impl Iterator<Item = TypeDef> + '_
pub fn nested_types(
&self,
type_def: TypeDef
) -> impl Iterator<Item = TypeDef> + '_
pub fn get(&self, type_name: TypeName<'_>) -> impl Iterator<Item = TypeDef> + '_
pub fn row_blob(&self, key: Row, column: usize) -> Blob<'_>
pub fn attribute_name(&self, row: Attribute) -> &str
pub fn attribute_args(&self, row: Attribute) -> Vec<(String, Value)>
pub fn class_layout_packing_size(&self, row: ClassLayout) -> usize
pub fn constant_type(&self, row: Constant) -> Type
pub fn constant_value(&self, row: Constant) -> Value
pub fn field_flags(&self, row: Field) -> FieldAttributes
pub fn field_name(&self, row: Field) -> &str
pub fn field_constant(&self, row: Field) -> Option<Constant>
pub fn field_attributes(&self, row: Field) -> impl Iterator<Item = Attribute>
pub fn field_is_const(&self, row: Field) -> bool
pub fn field_type(&self, row: Field, enclosing: Option<TypeDef>) -> Type
pub fn field_is_blittable(&self, row: Field, enclosing: TypeDef) -> bool
pub fn field_guid(&self, row: Field) -> Option<GUID>
pub fn field_cfg(&self, row: Field) -> Cfg<'_>
pub fn generic_param_name(&self, row: GenericParam) -> &str
pub fn impl_map_flags(&self, row: ImplMap) -> PInvokeAttributes
pub fn impl_map_scope(&self, row: ImplMap) -> ModuleRef
pub fn interface_impl_attributes(
&self,
row: InterfaceImpl
) -> impl Iterator<Item = Attribute>
pub fn interface_impl_is_default(&self, row: InterfaceImpl) -> bool
pub fn interface_impl_is_overridable(&self, row: InterfaceImpl) -> bool
pub fn interface_impl_type(
&self,
row: InterfaceImpl,
generics: &[Type]
) -> Interface
pub fn member_ref_parent(&self, row: MemberRef) -> MemberRefParent
pub fn member_ref_signature(&self, row: MemberRef) -> Blob<'_>
pub fn method_def_impl_flags(&self, row: MethodDef) -> MethodImplAttributes
pub fn method_def_flags(&self, row: MethodDef) -> MethodAttributes
pub fn method_def_name(&self, row: MethodDef) -> &str
pub fn method_def_params(&self, row: MethodDef) -> impl Iterator<Item = Param>
pub fn method_def_attributes(
&self,
row: MethodDef
) -> impl Iterator<Item = Attribute>
pub fn method_def_is_deprecated(&self, row: MethodDef) -> bool
pub fn method_def_does_not_return(&self, row: MethodDef) -> bool
pub fn method_def_special_name(&self, row: MethodDef) -> String
pub fn method_def_static_lib(&self, row: MethodDef) -> Option<String>
pub fn method_def_impl_map(&self, row: MethodDef) -> Option<ImplMap>
pub fn method_def_signature(&self, row: MethodDef, generics: &[Type]) -> Signature
pub fn method_def_size(&self, method: MethodDef) -> usize
pub fn module_ref_name(&self, row: ModuleRef) -> &str
pub fn param_flags(&self, row: Param) -> ParamAttributes
pub fn param_sequence(&self, row: Param) -> usize
pub fn param_name(&self, row: Param) -> &str
pub fn param_attributes(&self, row: Param) -> impl Iterator<Item = Attribute>
pub fn param_is_com_out_ptr(&self, row: Param) -> bool
pub fn param_array_info(&self, row: Param) -> ArrayInfo
pub fn param_is_retval(&self, row: Param) -> bool
pub fn param_free_with(&self, row: Param) -> Option<String>
pub fn type_def_flags(&self, row: TypeDef) -> TypeAttributes
pub fn type_def_name(&self, row: TypeDef) -> &str
pub fn type_def_namespace(&self, row: TypeDef) -> &str
pub fn type_def_type_name(&self, row: TypeDef) -> TypeName<'_>
pub fn type_def_extends(&self, row: TypeDef) -> TypeName<'_>
pub fn type_def_fields(&self, row: TypeDef) -> impl Iterator<Item = Field>
pub fn type_def_methods(&self, row: TypeDef) -> impl Iterator<Item = MethodDef>
pub fn type_def_attributes(
&self,
row: TypeDef
) -> impl Iterator<Item = Attribute>
pub fn type_def_generics(&self, row: TypeDef) -> impl Iterator<Item = Type>
pub fn type_def_interface_impls(
&self,
row: TypeDef
) -> impl Iterator<Item = InterfaceImpl>
pub fn type_def_enclosing_type(&self, row: TypeDef) -> Option<TypeDef>
pub fn type_def_class_layout(&self, row: TypeDef) -> Option<ClassLayout>
pub fn type_def_underlying_type(&self, row: TypeDef) -> Type
pub fn type_def_kind(&self, row: TypeDef) -> TypeKind
pub fn type_def_stdcall(&self, row: TypeDef) -> usize
pub fn type_def_is_blittable(&self, row: TypeDef) -> bool
pub fn type_def_is_callback(&self, row: TypeDef) -> bool
pub fn type_def_has_default_constructor(&self, row: TypeDef) -> bool
pub fn type_def_invoke_method(&self, row: TypeDef) -> MethodDef
pub fn type_def_interfaces(
&'a self,
row: TypeDef,
generics: &'a [Type]
) -> impl Iterator<Item = Interface> + '_
pub fn type_def_default_interface(&self, row: TypeDef) -> Option<Type>
pub fn type_def_has_default_interface(&self, row: TypeDef) -> bool
pub fn type_def_is_deprecated(&self, row: TypeDef) -> bool
pub fn type_def_is_handle(&self, row: TypeDef) -> bool
pub fn type_def_is_exclusive(&self, row: TypeDef) -> bool
pub fn type_def_is_scoped(&self, row: TypeDef) -> bool
pub fn type_def_is_contract(&self, row: TypeDef) -> bool
pub fn type_def_is_udt(&self, row: TypeDef) -> bool
pub fn type_def_is_borrowed(&self, row: TypeDef) -> bool
pub fn type_def_is_trivially_convertible(&self, row: TypeDef) -> bool
pub fn type_def_is_primitive(&self, row: TypeDef) -> bool
pub fn type_def_has_explicit_layout(&self, row: TypeDef) -> bool
pub fn type_def_has_packing(&self, row: TypeDef) -> bool
pub fn type_def_guid(&self, row: TypeDef) -> Option<GUID>
pub fn type_def_bases(&self, row: TypeDef) -> Vec<TypeDef>
pub fn type_def_is_flags(&self, row: TypeDef) -> bool
pub fn type_def_is_agile(&self, row: TypeDef) -> bool
pub fn type_def_invalid_values(&self, row: TypeDef) -> Vec<i64>
pub fn type_def_usable_for(&self, row: TypeDef) -> Option<TypeDef>
pub fn type_def_is_nullable(&self, row: TypeDef) -> bool
pub fn type_def_can_implement(&self, row: TypeDef) -> bool
pub fn type_def_async_kind(&self, row: TypeDef) -> AsyncKind
pub fn type_def_signature(&self, row: TypeDef, generics: &[Type]) -> String
pub fn type_def_cfg(&self, row: TypeDef, generics: &[Type]) -> Cfg<'_>
pub fn type_def_cfg_impl(&self, def: TypeDef, generics: &[Type]) -> Cfg<'_>
pub fn type_def_cfg_combine(
&'a self,
row: TypeDef,
generics: &[Type],
cfg: &mut Cfg<'a>
)
pub fn type_def_vtables(&self, row: TypeDef) -> Vec<Type>
pub fn type_ref_name(&self, row: TypeRef) -> &str
pub fn type_ref_namespace(&self, row: TypeRef) -> &str
pub fn type_ref_type_name(&self, row: TypeRef) -> TypeName<'_>
pub fn type_spec_signature(&self, row: TypeSpec) -> Blob<'_>
pub fn signature_cfg(&self, signature: &Signature) -> Cfg<'_>
pub fn signature_param_is_borrowed(&self, param: &SignatureParam) -> bool
pub fn signature_param_is_failible_param(&self, param: &SignatureParam) -> bool
pub fn signature_param_is_trivially_convertible(
&self,
param: &SignatureParam
) -> bool
pub fn signature_param_is_convertible(&self, param: &SignatureParam) -> bool
pub fn signature_param_input_value(&self, param: &SignatureParam) -> bool
pub fn signature_param_is_retval(&self, param: &SignatureParam) -> bool
pub fn signature_kind(&self, signature: &Signature) -> SignatureKind
pub fn type_cfg(&self, ty: &Type) -> Cfg<'_>
pub fn type_cfg_combine(&'a self, ty: &Type, cfg: &mut Cfg<'a>)
pub fn type_interfaces(&self, ty: &Type) -> Vec<Interface>
pub fn type_is_exclusive(&self, ty: &Type) -> bool
pub fn type_is_blittable(&self, ty: &Type) -> bool
pub fn type_has_explicit_layout(&self, ty: &Type) -> bool
pub fn type_has_packing(&self, ty: &Type) -> bool
pub fn type_name(&self, ty: &Type) -> &str
pub fn type_signature(&self, ty: &Type) -> String
pub fn type_is_nullable(&self, ty: &Type) -> bool
pub fn type_is_non_exclusive_winrt_interface(&self, ty: &Type) -> bool
pub fn type_is_trivially_convertible(&self, ty: &Type) -> bool
pub fn type_is_callback(&self, ty: &Type) -> bool
pub fn type_is_callback_array(&self, ty: &Type) -> bool
pub fn type_is_primitive(&self, ty: &Type) -> bool
pub fn type_is_udt(&self, ty: &Type) -> bool
pub fn type_underlying_type(&self, ty: &Type) -> Type
pub fn type_has_replacement(&self, ty: &Type) -> bool
Auto Trait Implementations
impl<'a> RefUnwindSafe for Reader<'a>
impl<'a> Send for Reader<'a>
impl<'a> Sync for Reader<'a>
impl<'a> Unpin for Reader<'a>
impl<'a> UnwindSafe for Reader<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more